[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.
Interview Questions and Answers :: Cisco

4. Make some change in below program so that it print "i am in if followed by I am in else"
If ()
{
printf("I am in if");
}
else
{
printf("I am in Else");
}

Answer:

change the code something like

If ( ! printf("I am in if") ) <>
{
printf("I am in if");
}
else
{
printf("I am in Else");
}

Post Your Answer Here:      Public      Private

Rate This: +0 -0
Report     

Post Your Reply Here:     

Report Error

Report Error

Please Login First Click Here