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 |
Define the scope of static variables.
What are formal parameters?
Explain Function Pointer?
What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
where do we use structure pointer?
how we do lcm of two no using c simple if while or for statement
How do you access command-line arguments?
program to find a smallest number in an array
How many bytes are occupied by near, far and huge pointers (dos)?
why the execution starts from main function
what type of language is C?
What are the features of the c language?