write a “Hello World” program in “c” without using a semicolon?
Answers were Sorted based on User's Feedback
Answer / rajeev
int main()
{
if(printf("hello world"))
}
For if statement compiler does not expect semi colon.
| Is This Answer Correct ? | 55 Yes | 18 No |
Answer / prakash.k.r
#include<stdio.h>
void main()
{
if(printf("Hello World"))
{
}
}
printf() fn is available in the stdio header file, and so it
must be loaded. Using int main without return stmt is not
good. If any other solution, plz add your answer.
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / mahesh
#include<stdio.h>
void main()
{
if(printf("Hello World"))
{
}
}
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / latiff
int main()
{
if(printf("hello world"))
}
In if statement compiler does not expect semicolon.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / prashant
sir, i can not give the answer of this question.
| Is This Answer Correct ? | 4 Yes | 17 No |
i want to job in your company, so how it will be possible.
coding for Fibonacci.?
What is the output of printf("%d", printf("Hello"));?
How to write a C program to determine the smallest among three nos using conditional operator?
1 1 12 21 123 321 12344231 how i creat it with for loop??
what is difference between overriding and overloading?
what is a constant pointer in C
What are identifiers in c?
Explain what is the difference between functions getch() and getche()?
What is masking?
What does #pragma once mean?
Is c easier than java?