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 / abdur rab
#include <stdio.h>
int main ( int argc, char* argv[] )
{
if ( !printf("Hello") )
printf ("Hello");
else printf (" World");
}
| Is This Answer Correct ? | 17 Yes | 6 No |
Post New Answer View All Answers
What is n in c?
What is scanf_s in c?
write a c program to find the sum of five entered numbers using an array named number
Write a C program in Fibonacci series.
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Are local variables initialized to zero by default in c?
What is the acronym for ansi?
Why we write conio h in c?
Is there anything like an ifdef for typedefs?
What is c programing language?
In c programming language, how many parameters can be passed to a function ?
hi any body pls give me company name interview conduct "c" language only
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What are pointers in C? Give an example where to illustrate their significance.
Why do we write return 0 in c?