Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

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");

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

Answer: (D)


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 :

Start Your Coding Journey Now!