Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
FUNTION4
//gcc 5.4.0 #include <stdio.h> int sum(); int sum(){ // formal perameters or a and b are temparary variables int a=20,b=10,total=0; total=a+b; return total; } void main() { int total=0; printf("\n Before int sum() function"); total=sum(); // a and b are the actual parameters printf("\n sum is %d",total); printf("\n After int sum() function"); }
run
|
edit
|
history
|
help
1
Please
log in
to post a comment.
c union bytes affected
DUE BY TUESDAY
B_141125_MenorMayor
Finding the second largets value v0.6
C_141112_Perfectos
18BCE2182 ASSESS_1 Q1-5
hello
A_141121_mayorMenor
Largest and Second Largest number in an array
1.8 Parallizing for loop
Please log in to post a comment.