1.

Find the output of the following program:#include<iostream.h>void main(){int a=7,b; b=a++;cout<<++a<<‘’\t”<<b--<<endl;cout<<b++c<<"\t"<<--a<<endl;}

Answer»

Output:

9     8

7    8

(eg) 3 + 6 > 4 && 6-4 <2 || 6+2 > = 3 + 4

9 > 4 && 2 <2 ||8 > = 7

True && False || True

False || True

True



Discussion

No Comment Found

Related InterviewSolutions