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 / manjunath.goudar
//#include<stdio.h>
main()
{
if(1)
printf("hello");
else;
printf("world");
}
| Is This Answer Correct ? | 7 Yes | 33 No |
Post New Answer View All Answers
How pointer is different from array?
What is the difference between functions getch() and getche()?
Is it better to use a macro or a function?
What is the use of getchar functions?
What are the different types of endless loops?
Can the curly brackets { } be used to enclose a single line of code?
Explain enumerated types.
Is using exit() the same as using return?
Do you know the purpose of 'register' keyword?
What is omp_num_threads?
What are the three constants used in c?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What are the 4 types of unions?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What is the concatenation operator?