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
What is the difference between ++a and a++?
In which layer of the network datastructure format change is done
What does volatile do?
write a program to rearrange the array such way that all even elements should come first and next come odd
write a program to print largest number of each row of a 2D array
Explain the properties of union. What is the size of a union variable
Can static variables be declared in a header file?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
What is a loop?
What is the use of a static variable in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What is the value of uninitialized variable in c?
Do you have any idea about the use of "auto" keyword?
What is spark map function?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)