write a “Hello World” program in “c” without using a semicolon?
Answer Posted / 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 |
Post New Answer View All Answers
Define the scope of static variables.
Why we use conio h in c?
What is #pragma statements?
What does p mean in physics?
What is c language in simple words?
Why does this code crash?
Is javascript written in c?
Differentiate between #include<...> and #include '...'
Are there any problems with performing mathematical operations on different variable types?
Is anything faster than c?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
Explain what are header files and explain what are its uses in c programming?
Which function in C can be used to append a string to another string?
How does free() know explain how much memory to release?
What are the 5 data types?