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 / manjunath.goudar
//#include<stdio.h>
main()
{
if(1)
printf("hello");
else;
printf("world");
}
| Is This Answer Correct ? | 7 Yes | 33 No |
Post New Answer View All Answers
What is structure data type in c?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What are logical errors and how does it differ from syntax errors?
Is a house a shell structure?
How do I get an accurate error status return from system on ms-dos?
How can I insert or delete a line (or record) in the middle of a file?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is volatile c?
What is nested structure in c?
Is fortran still used today?
What is the significance of an algorithm to C programming?
What is the use of linkage in c language?
What are valid operations on pointers?
Why do we use main function?
What does struct node * mean?