Programming Languages C Objective
Mar 09, 2013

What will be output of the following c code?

void main()
  {
   int a=sizeof(a);
   a=modify(a);
   printf("%d",a);
 }
  int modify(int x){
  int y=3;
  _AX=x+y;
  return;
}

Choose the correct answer:
A) 5
B) 6
C) Garbage value
D) Compiler error
Detailed Explanation

No Explanation

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback