Welcome Guest | Sign in | Register
Operators - Discussion Page For Q.10713 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Operators > Questions and Answers

Q: What is the output of following program?

void main(){
float a;
a=8.5;
if(a==8.5)
printf("1");
else
printf("2");
}   
A. 3 B. 4
C. 5 D. 6

Answer and Explanation

Answer:4

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.