Online Exam Quiz
Menu mobile
Home
GK Today
Subject
CCC Online Test
O Level Online Test
Coding
C
: Pointers
What will be the output of the following code?
main() { int c,d, *p1=&c,*p2=&d, x;
c =10,d =4;
x = –3* – *p2 / *p1 + 5;
printf(“%d ”,x);
}
,
What will be the output of the following code?
main() { int c,d, *p1=&c,*p2=&d, x;
c =10,d =4;
x = –3* – *p2 / *p1 + 5;
printf(“%d ”,x);
}
What will be the output of the following code?
main() { int c,d, *p1=&c,*p2=&d, x;
c =10,d =4;
x = –3* – *p2 / *p1 + 5;
printf(“%d ”,x);
}
What will be the output of the following code?
main() { int c,d, *p1=&c,*p2=&d, x;
c =10,d =4;
x = –3* – *p2 / *p1 + 5;
printf(“%d ”,x);
}
A. 6
B. Invalid syntax because / * is used for comments.
C. 8
D. IInvalid syntax because three binary operators can’t be together in an expression.
Correct Answer :
B. Invalid syntax because / * is used for comments.
Latest Current Affairs 2026
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test , CCC MCQ
Python Coding Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Website development Company in Allahabad