Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
FUNTION3
//gcc 5.4.0 #include <stdio.h> int sum(int a,int b); int sum(int a, int b){ // formal perameters or a and b are temparary variables return a+b; } void main() { int a=20,b=10,total=0; printf("\n Before int sum(a,b) function"); total=sum(a,b); // a and b are the actual parameters printf("\n sum is %d",total); printf("\n After int sum(a,b) function"); }
run
|
edit
|
history
|
help
0
a3 commented
Finding the second largets value v0.8
Alphabet Triangle
gkckibvsj
Pattern 13
Time Stamp
String copy
pattern
if (strcmp(abb, "lol")==0 || strcmp(abb, "LOL")==0 || )
2-dimension array got area by malloc()