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 many keywords are there in c?
What is the maximum no. of arguments that can be given in a command line in C.?
Define recursion in c.
What is a void * in c?
What is adt in c programming?
Are pointers integers in c?
What does malloc () calloc () realloc () free () do?
What are qualifiers?
What is the translation phases used in c language?
Explain what is the difference between functions abs() and fabs()?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What should malloc() do?
What is the difference between the local variable and global variable in c?
What are the string functions? List some string functions available in c.
What is the use of getchar() function?