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 / vignesh1988i
but yhe printf statement will print one "hello" and one
world.......................... but i said it must enter to
the if part as well as else part controls..............
before a long time baxk itself i tried this method.........
then only i read the question of IBM properly
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Can stdout be forced to print somewhere other than the screen?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Explain the use of 'auto' keyword
What are reserved words?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What is extern storage class in c?
Why is C language being considered a middle level language?
What is static and auto variables in c?
What is function definition in c?
What's the total generic pointer type?
explain what are pointers?
What is the purpose of the preprocessor directive error?
If errno contains a nonzero number, is there an error?
The statement, int(*x[]) () what does in indicate?