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

How many levels of pointers can you have?

931


What is a list in c?

797


What are the ways to a null pointer can use in c programming language?

876


What are c identifiers?

851


Why is c known as a mother language?

966


Explain how can I make sure that my program is the only one accessing a file?

881


What is the newline escape sequence?

831


What is assert and when would I use it?

774


What is the sizeof () operator?

790


how should functions be apportioned among source files?

863


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1952


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

835


What is meant by high-order and low-order bytes?

843


How many loops are there in c?

821


Explain the properties of union. What is the size of a union variable

925