Question
What is the output of this C code?
void main()
{
int x = 0;
int *ptr = &x;
printf("%d\n", *ptr);
}
void main()
{
int x = 0;
int *ptr = &x;
printf("%d\n", *ptr);
}
Answer: Option C
Was this answer helpful ?
None.
Was this answer helpful ?
Submit Solution