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
How do we open a binary file in Read/Write mode in C?
Are the variables argc and argv are always local to main?
Explain what is wrong with this statement? Myname = ?robin?;
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is malloc() function?
How can you invoke another program from within a C program?
What is strcpy() function?
How can I dynamically allocate arrays?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What is an identifier?
Write a code to generate divisors of an integer?
number of times a digit is present in a number
Mention four important string handling functions in c languages .
Which is best book for data structures in c?
Can include files be nested?