Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2018 | Question 58
  • Difficulty Level : Medium
  • Last Updated : 04 Jul, 2018

What is the output of the following program ?

main (){
int x = 2, y = 5;
if(x < y) return (x = x + y);
else printf ("z1");
printf("z2");

(A) z2
(B) z1z2
(C) Compilation error
(D) None of these


Answer: (D)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :