Skip to content
Related Articles
Open in App
Not now

Related Articles

ISRO | ISRO CS 2018 | Question 58

Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 04 Jul, 2018
Improve Article
Save Article

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
Related Articles

Start Your Coding Journey Now!