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
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Where in memory are my variables stored?
What is the full form of getch?
What does emoji p mean?
Here is a neat trick for checking whether two strings are equal
Is c a great language, or what?
Can you please compare array with pointer?
What is a pointer in c?
Describe newline escape sequence with a sample program?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Why c is a mother language?
Explain what are header files and explain what are its uses in c programming?
Are the outer parentheses in return statements really optional?
What are Macros? What are its advantages and disadvantages?
Why c is a procedural language?