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 |
What is the size of structure pointer in c?
what is a void pointer?
How can a program be made to print the line number where an error occurs?
Can we assign integer value to char in c?
Explain union.
What is dynamic memory allocation?
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
Is it possible to run a c program without using main?If yes HOW??
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
code for copying two strings with out strcpy() function.
main() { clrscr(); } clrscr();
64/square(4)