What is the output of this C code?
#include
void m(int p)
{
printf("%d\n", p);
}
void main()
{
int a = 6, b = 5;
m(a, b);
printf("%d %d\n", a, b);
}
Answers
Answered by
3
Answer:
6
6 5
Explanation:
value of a goes to p
and p prints 6
then in main a prints 6 and b prints 5
Similar questions