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