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 / dinakaran gct
#include<stdio.h>
void main()
{
if(1)
{
printf("HELLO!");
goto HERE;
}
else
{
HERE:
printf("HAI....");
}
}
Is This Answer Correct ? | 18 Yes | 19 No |
Post New Answer View All Answers
What are data types in c language?
shorting algorithmS
Why are all header files not declared in every c program?
Is return a keyword in c?
What is the use of getch ()?
What is the correct code to have following output in c using nested for loop?
What is the c language function prototype?
What is unsigned int in c?
Explain what is the difference between null and nul?
Explain what are multidimensional arrays?
What is the data segment that is followed by c?
I need previous papers of CSC.......plz help out by posting them.......
How can a program be made to print the name of a source file where an error occurs?
What is the correct declaration of main?
What is a substring in c?