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 goto is not a good sort of programming ............. a
well knowledgeable programmer wont use goto..... according
to me........... plz think of any other logic??????????
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Can you explain the four storage classes in C?
What are global variables?
What is function pointer c?
What is volatile variable how do you declare it?
Can we declare function inside main?
What are static variables in c?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What is an arrays?
What is bss in c?
What are identifiers in c?
What does double pointer mean in c?
What is the role of && operator in a program code?
Can a local variable be volatile in c?
Who invented b language?