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 is const keyword in c?

967


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

953


What is the need of structure in c?

812


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

1928


Which is the memory area not included in C program? give the reason

1738


Are local variables initialized to zero by default in c?

779


What is the difference between functions abs() and fabs()?

901


Does c have class?

876


What is 1d array in c?

865


c program to compute AREA under integral

2109


Do you know pointer in c?

831


Hi can anyone tell what is a start up code?

1855


write a c program in such a way that if we enter the today date the output should be next day's date.

1934


When should a type cast not be used?

851


What are the 5 elements of structure?

837