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 / jaya prakash

int main()
{

if(printf("Hello"))
{
//Null statement
}

}

Is This Answer Correct ?    51 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is r written in c?

1108


How are variables declared in c?

1024


What are lookup tables in c?

950


write a proram to reverse the string using switch case?

2881


What does & mean in scanf?

1042


What does node * mean?

1140


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

3204


What is the easiest sorting method to use?

1097


List the different types of c tokens?

1009


What is the Purpose of 'extern' keyword in a function declaration?

1032


Why is c so important?

994


Explain how do you generate random numbers in c?

1042


Explain how does flowchart help in writing a program?

1060


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4149


When we use void main and int main?

1017