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
How will you find a duplicate number in a array without negating the nos ?
How can a string be converted to a number?
What happens if you free a pointer twice?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
How to write a code for reverse of string without using string functions?
What is keyword in c?
What is a stream?
Explain how does flowchart help in writing a program?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
write a program for the normal snake games find in most of the mobiles.
Explain indirection?
which is an algorithm for sorting in a growing Lexicographic order
Explain how do you print only part of a string?
What is the use of typedef in structure in c?
What is self-referential structure in c programming?