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
How can I read and write comma-delimited text?
What is else if ladder?
What is clrscr in c?
What are the complete rules for header file searching?
What does dm mean sexually?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What is keyword with example?
What do you mean by command line argument?
What are dangling pointers in c?
find the sum of two matrices and WAP for it.
Explain Function Pointer?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
Is c easier than java?
Explain the bubble sort algorithm.
What does the error message "DGROUP exceeds 64K" mean?