How to print "Hi World" without using semi colon?
Answers were Sorted based on User's Feedback
Answer / bhumit
main()
{
clrscr();
if(printf("HI World"))
getch();
}
Is This Answer Correct ? | 20 Yes | 6 No |
Answer / ayyanar.m
main()
{
clrscr();
if(printf("HI World"))
getch();
}
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / manoj singh
#include<stdio.h>
void main()
{
clrscr();
if(printf("\"Hi world\""))
while(!kbhit());
}
// sorry for previous answer
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / ankit choudhary
void main()
{
clrscr();
if(printf("\nHi World"))
getch();
}
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / saravana kumar
#include<stdio.h>
void main()
{
if(printf("Hi World"))
}
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / manoj singh
void main()
{
clrscr();
if(printf(""HI World""))
getch();
}
Is This Answer Correct ? | 2 Yes | 6 No |
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance
What are extern variables in c?
Whats wrong with the following function char *string() { char *text[20]; strcpy(text,"Hello world"); return text; }
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
Is there a way to jump out of a function or functions?
How to set file pointer to beginning c?
Why the below program throughs error during compilation? #include<stdio.h> #include<conio.h> enum { ZERO, ONE, TWO, }; main() { printf("%d",&TWO); getch(); }
What is a memory leak in structures? How can we rectify that?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
what is the role you expect in software industry?
Derive the complexity expression for AVL tree?