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 / subbu
#include<stdio.h>
int main()
{
if(!printf("Hello")
{
printf("Hello");
}
else
printf("World");
}
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What are the ways to a null pointer can use in c programming language?
Explain output of printf("Hello World"-'A'+'B'); ?
Why doesn't C support function overloading?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
How do you determine whether to use a stream function or a low-level function?
What is the full form of getch?
Do pointers take up memory?
What is #include called?
Differentiate between null and void pointers.
Create a simple code fragment that will swap the values of two variables num1 and num2.
How can I open files mentioned on the command line, and parse option flags?
What is a const pointer in c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
If fflush wont work, what can I use to flush input?