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 / vaibhav
int a=5,b=5;
if(a==5)
printf("hello");
else;
printf("world");
| Is This Answer Correct ? | 4 Yes | 28 No |
Post New Answer View All Answers
What is call by reference in functions?
What is dynamic variable in c?
How many keywords (reserve words) are in c?
What are the ways to a null pointer can use in c programming language?
What is the advantage of using #define to declare a constant?
Can you apply link and association interchangeably?
What is the right type to use for boolean values in c?
What's the difference between constant char *p and char * constant p?
Why we use stdio h in c?
How can I get back to the interactive keyboard if stdin is redirected?
How can I write a function analogous to scanf?
What is the collection of communication lines and routers called?
How can a process change an environment variable in its caller?
Can an array be an Ivalue?
Why does everyone say not to use gets?