Page 1 of 1

What will be output of the following c code?

Posted: Thu Jul 14, 2022 9:05 am
by answerhappygod
#include<stdio.h>
int main()
{
const int *p;
int a=10;
p=&a;
printf("%d",*p);
return 0;
}
a) 0
b) 10
c) Garbage Value
d) Any Memory address