-->

Comment on the output of following C program?


#include <stdio.h>

main()

{

     int a = 1;

     printf("size of a is %d, ", sizeof(++a));

     printf("value of a is %d", a);

};






a. size of a is 4, value of a is 1

b. size of a is 4, value of a is 2

c. size of a is 2, value of a is 2

d. None of the above
















ANSWER: size of a is 4, value of a is 1