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...

can we print any string in c language without using
semicolon(;)(terminator) in whole program.

Answer Posted / vinnu bhardwaj

main()
{
if(printf("Hello world"))
{}
}
//Here the {} act as a blank compound statement. But it is
//not mandatory to put some simple statements in it which
//require a semicolon. There are many more such answers to
//this question but the basic funda will be same

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of scope resolution operator?

1346


What are the various types of control structures in programming?

1007


What are types of preprocessor in c?

1015


explain what are actual arguments?

1032


What are loops in c?

953


How do you do dynamic memory allocation in C applications?

1045


Write a program which returns the first non repetitive character in the string?

1054


while initialization of array why we use a[][2] why not a[2][]...?

2303


Why can’t we compare structures?

1226


What is character set?

1118


Why #include is used in c language?

994


Explain how do you search data in a data file using random access method?

1070


How is a structure member accessed?

1060


What is a file descriptor in c?

1054


What is structure packing in c?

1024