The code is::::: if(condition)
Printf("Hello");
Else
Printf("World");
What will be the condition in if in such a way that both
Hello and world are printed in a single attempt?????? Single
Attempt in the sense... It must first print "Hello" and it
Must go to else part and print "World"..... No loops,
Recursion are allowed........................
Answer Posted / hari nair
What 'bout this???
If(printf("Hello")
{
printf("Hello");
}
else
printf("World");
//printf returns the no. of arg printed, as no arg printed in if condition, goes straight to the else clause....
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What are c preprocessors?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What is the difference between c and python?
what are the different storage classes in c?
How is a null pointer different from a dangling pointer?
In which language linux is written?
What is the meaning of && in c?
How many keywords (reserve words) are in c?
What is pass by value in c?
What is conio h in c?
how can use subset in c program and give more example
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What are the 4 types of unions?
Explain how can I open a file so that other programs can update it at the same time?
Why c is called free form language?