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

Are pointers really faster than arrays?

1029


Do you have any idea about the use of "auto" keyword?

1085


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2321


What is structure of c program?

1168


What is string function c?

1025


Explain enumerated types.

1034


How can you return multiple values from a function?

1118


What are the advantages of using new operator as compared to the function malloc ()?

1350


What is static memory allocation?

1178


What is %s and %d in c?

1047


What is the use of a semicolon (;) at the end of every program statement?

1511


How do I read the arrow keys? What about function keys?

1086


Explain how do you declare an array that will hold more than 64kb of data?

1455


What does int main () mean?

1029


How can I manipulate strings of multibyte characters?

1115