What is the output of the below given code?
# include
int main() {
int x = 100, *p;
p = &x;
*p = 1;
printf("%d", x);
return 0;
}1
100
2
1
3
0
4
Error
5
Question Not Attempted
What is the output of the below given code?
# include
int main() {
int x = 100, *p;
p = &x;
*p = 1;
printf("%d", x);
return 0;
}