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
Explain what are its uses in c programming?
What is hungarian notation? Is it worthwhile?
Explain what is a stream?
Which are low level languages?
Which of these functions is safer to use : fgets(), gets()? Why?
What is meant by recursion?
What is pragma c?
Explain what is wrong with this program statement?
Is it fine to write void main () or main () in c?
Explain the advantages of using macro in c language?
What is the use of bit field?
When is the “void” keyword used in a function?
What are qualifiers?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Why C language is a procedural language?