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 does static variable mean in c?

1096


What is the difference between far and near ?

1190


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1289


Can true be a variable name in c?

1035


What is the general form of #line preprocessor?

991


What is difference between structure and union with example?

1050


What is scanf () in c?

1123


how should functions be apportioned among source files?

1096


What is the condition that is applied with ?: Operator?

1127


Can a variable be both static and volatile in c?

1033


simple program of graphics and their output display

1986


What does typeof return in c?

1088


How do you use a pointer to a function?

1077


what is bit rate & baud rate? plz give wave forms

1976


What does the c in ctime mean?

1087