Đặng Thu Hà
New member
What will be the output of the following C code?
A. 5
B. Address of 5
C. Nothing
D. Compile time error
Code:
#include <stdio.h>
void main()
{
int x = 0;
int *ptr = &5;
printf("%p\n", ptr);
}
B. Address of 5
C. Nothing
D. Compile time error