Top

Discussion

What will be the output of the following C code?

#include 
#define a 2
main()
{
    int r;
    #define a 5
    r=a*2;
    printf("%d",r);
}

 

  • A.10
  • B.4
  • C.2
  • D.5

Answer: A

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment