HR cum Technical
Interview
Programming
boolean program:
bstatement=false;
if
{ bstatement=true
printf(true)
}
else
{ printf(false)
}
Read Solution (Total 3)
-
- true is the answer
- 10 years agoHelpfull: Yes(0) No(0)
- true coz it is = instead of ==
- 10 years agoHelpfull: Yes(0) No(0)
- SOLUTION: true
if loop will automatically executed since there is no condition.
bstatement is assigned to true
hence while print option the value true is printed
- 10 years agoHelpfull: Yes(0) No(0)
HR cum Technical Other Question