What will be output of following c program?

			  		

Loading

โœช Choose the correct option.

What will be output of following c program?


int main ()
{
int i = 2;
twice (2);
printf ("%d", i);
}
twice (int i)
{
print ("Inside");
}
int i, b[] = {1, 2, 3, 4, 5}, *p;
p = b;
++*p;
p += 2;

What is the value of *p;

A. 2
B. 3
C. 1
D. 4

Leave a Comment