[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Variables & Data Types - Discussion

Home > C Programming > Variables & Data Types > MCQs Questions Discussion

2 / 51

What will be output of the following "c" code?

#include<stdio.h>
void main()

{
float me = 1.1; 
double you = 1.1; 
if(me==you)
printf("I love U"); 
else
printf("I hate U"); 
}

AI hate U

BI love U

CCompiler Error

DNone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Societe Generale

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here