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
What is wrong with this program statement?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What are the advantages of using linked list for tree construction?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
What is structure padding and packing in c?
Why are algorithms important in c program?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What is a char c?
What does do in c?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What is static identifier?
What is dynamic variable in c?
Why enum is used in c?
What is volatile keyword in c?
What are categories used for in c?