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

Define the scope of static variables.

1060


Why we use conio h in c?

1150


What is #pragma statements?

1050


What does p mean in physics?

987


What is c language in simple words?

1006


Why does this code crash?

1026


Is javascript written in c?

1012


Differentiate between #include<...> and #include '...'

1002


Are there any problems with performing mathematical operations on different variable types?

989


Is anything faster than c?

968


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2185


Explain what are header files and explain what are its uses in c programming?

1107


Which function in C can be used to append a string to another string?

1174


How does free() know explain how much memory to release?

1011


What are the 5 data types?

1047