How to print "I Love My India" without using semi colon?
Answers were Sorted based on User's Feedback
Answer / shamik
#include<stdio.h>
void main()
{
if(printf("I love my India"))
getch();
}
| Is This Answer Correct ? | 38 Yes | 4 No |
Answer / sanjay
On VC++ and on Unix. Dont use getch();
as it was clearly mentioned for not to use ;
#include<stdio.h>
main()
{
if(printf("I love my India"))
}
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / manoj singh
#include<stdio.h>
void main()
{
clrscr();
if(printf("\"I love my India\""))
while(!kbhit());
}
| Is This Answer Correct ? | 4 Yes | 6 No |
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }
Explain what is the use of a semicolon (;) at the end of every program statement?
Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;
18 Answers Accenture, Cisco, Egentec, HCL, Ideaz, Infosys, M-Systems, MYR, TCS,
print a "hello" word without using printf n puts in c language
What is #define?
write a fuction for accepting and replacing lowercase letter to'Z' with out using inline function.
why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }
Which node is more powerful and can handle local information processing or graphics processing?
#include<stdio.h> int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }
12 Answers Capital IQ, Sasken,
Explain high-order bytes.
What’s a signal? Explain what do I use signals for?
about c language