Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Programming and Data Structure Programming in C Pointer
The output of the following C++ Program is:
#include
int main (void)
{
int x, *p;
x = 30;
p = x;
print f ("%d", *p);
return 0;
}
1
30
2
value of x
3
address of x
4
Error