Code With NK
31 January 2022
Call By Value
#include
<stdio.h>
int
sum
(
int
a
,
int
b
);
int
main
()
{
int
a
=
99
,
b
=
12
;
printf
(
"The value of 99 + 12 is:
%d
"
,
sum
(
a
,
b
));
return
0
;
}
int
sum
(
int
a
,
int
b
){
return
a
+
b
;
}
ANS--->
The value of 99 + 12 is: 111
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment