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
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
List some basic data types in c?
What is scope and lifetime of a variable in c?
Can we declare variable anywhere in c?
why wipro wase
What are identifiers c?
Explain data types & how many data types supported by c?
How #define works?
#include
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
How can I use a preprocessorif expression to ?
I need previous papers of CSC.......plz help out by posting them.......
Is sizeof a keyword in c?
Explain what is a program flowchart and explain how does it help in writing a program?