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 the ANSI C Standard?
What is openmp in c?
What is double pointer in c?
What is getch?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What the different types of arrays in c?
How can I open a file so that other programs can update it at the same time?
Why is event driven programming or procedural programming, better within specific scenario?
Differentiate between a structure and a union.
How do I get an accurate error status return from system on ms-dos?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What does 3 mean in texting?
Write a program to check palindrome number in c programming?
What is a macro?