Open In App

ISRO | ISRO CS 2018 | Question 58

Last Updated : 04 Jul, 2018
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads