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 do you mean by Recursion Function?
What is const volatile variable in c?
Explain what are run-time errors?
Why is c so powerful?
What are the application of c?
What is struct node in c?
Is null equal to 0 in sql?
Write a program to reverse a linked list in c.
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What is a lvalue
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
how many errors in c explain deply
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Should I learn c before c++?