Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the ANSI C Standard?

1265


What is openmp in c?

1019


What is double pointer in c?

1036


What is getch?

1181


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

997


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1360


What the different types of arrays in c?

1057


How can I open a file so that other programs can update it at the same time?

1179


Why is event driven programming or procedural programming, better within specific scenario?

2420


Differentiate between a structure and a union.

1285


How do I get an accurate error status return from system on ms-dos?

1113


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1365


What does 3 mean in texting?

1092


Write a program to check palindrome number in c programming?

1010


What is a macro?

1099