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
What is the Purpose of 'extern' keyword in a function declaration?
What is substring in c?
What is the correct code to have following output in c using nested for loop?
How can I send mail from within a c program?
What are the 5 organizational structures?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What is pointer to pointer in c language?
What are terms in math?
What are near, far and huge pointers?
Is it cc or c in a letter?
What are the three constants used in c?
code for quick sort?
Is register a keyword in c?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
What are the string functions? List some string functions available in c.