Latest TCS Aptitude Question SOLUTION: Predict the output of following code: main() { int x,a=10; x=a==10?printf("hait"):printf("hellon"); printf("%d",x); } 1.hai 4 2. Error 3. hello 3 4. hai hello

Advertisements
Launched an English app featuring 2000 mostly asked english words in all Competitive Exams. #2kenglish Download Now, It's Free