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 / nisha

If(?)
printf("hello");
else
Printf("world");

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the scope of static variables?

593


What are the ways to a null pointer can use in c programming language?

581


What does & mean in scanf?

593


Which programming language is best for getting job 2020?

598


largest Of three Number using without if condition?

993






the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1791


What is a const pointer?

622


hi any body pls give me company name interview conduct "c" language only

1657


What are the similarities between c and c++?

588


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

718


Can we compile a program without main() function?

622


What is union and structure?

565


Why is c so popular?

640


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

613


State two uses of pointers in C?

630