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


Please Help Members By Posting Answers For Below Questions

The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

921


Describe explain how arrays can be passed to a user defined function

864


What is calloc()?

844


Describe static function with its usage?

891


What are pointers? What are stacks and queues?

802


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1986


How are variables declared in c?

851


What is the use of in c?

771


What is malloc return c?

806


How arrays can be passed to a user defined function

804


What is c definition?

971


What is function prototype in c with example?

791


What does %d do?

969


What is c language & why it is used?

799


How is = symbol different from == symbol in c programming?

830