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 the difference between NULL and NUL?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is the difference between printf and scanf )?
When is a null pointer used?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
what are # pragma staments?
What are the types of type qualifiers in c?
Is c a great language, or what?
What is bubble sort in c?
Explain the difference between strcpy() and memcpy() function?
what is the different bitween abap and abap-hr?
Why use int main instead of void main?
Explain the use of 'auto' keyword in c programming?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;