C Programming :: Arrays - Discussion
Home > C Programming > Arrays > MCQs Questions Discussion
48 / 55
What will be output of following c program?
#include<stdio.h>
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;
#include<stdio.h>
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;
A2
B3
C1
D4
E5
Answer: Option (Login/Signup)
Show Explanation