C Programming :: Variables & Data Types - Discussion
Home > C Programming > Variables & Data Types > MCQs Questions Discussion
31 / 51
What will be output of the following "c" code?
#include
void main()
{
register int a=2;
printf("Address of a = %p",&a);
printf("Value of a = %d",a);
}
void main()
{
register int a=2;
printf("Address of a = %p",&a);
printf("Value of a = %d",a);
}
ACompiler Error: '&' on register variable
B2 2
Ca's address 2
DCompilation Error
ENone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!