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
Explain what is #line used for?
Hai what is the different types of versions and their differences
What is hash table in c?
Is it possible to execute code even after the program exits the main() function?
What is a built-in function in C?
Should I learn data structures in c or python?
What is header file definition?
c language interview questions & answer
What are the disadvantages of external storage class?
How to write a code for reverse of string without using string functions?
What is ## preprocessor operator in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Are comments included during the compilation stage and placed in the EXE file as well?
What is the meaning of && in c?