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

How can I make a program in c to print 'Hello' without
using semicolon in the code?

Answer Posted / manjushree

#include<stdio.h>
#include<conio.h>
int main()
{
if(printf("Hello"))
{

}
getch();
}

// if u use while loop it goes for an infinite loop , so
better to use if condition

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are conditional operators in C?

1108


Tell me the use of bit field in c language?

1075


How many levels of pointers have?

1060


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1899


What are the different types of errors?

1149


Explain how can I avoid the abort, retry, fail messages?

1070


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1741


What are void pointers in c?

1006


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

1158


Write a program to print numbers from 1 to 100 without using loop in c?

1095


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1413


What are header files in c?

1093


Explain what is the most efficient way to store flag values?

1238


What does sizeof return c?

1077


Explain how can you tell whether a program was compiled using c versus c++?

1111