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 the advantages of the functions?

1096


which is an algorithm for sorting in a growing Lexicographic order

1747


can we have joblib in a proc ?

2231


Why do we use & in c?

949


how to find anagram without using string functions using only loops in c programming

3134


Explain what are run-time errors?

1037


What is the right type to use for boolean values in c? Is there a standard type?

967


Does * p ++ increment p or what it points to?

1054


please explain every phase in the "SDLC" in the dotnet.

2560


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

1095


Can we replace the struct function in tree syntax with a union?

1238


Why is sprintf unsafe?

998


How do you declare a variable that will hold string values?

1104


What is printf () in c?

1013


What are the advantages and disadvantages of a heap?

1147