How to print "Hi World" without using semi colon?

Answer Posted / manoj singh

#include<stdio.h>
void main()
{
clrscr();
if(printf("\"Hi world\""))
while(!kbhit());
}




// sorry for previous answer

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ## preprocessor operator in c?

604


Is return a keyword in c?

587


What is printf () in c?

573


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1856


Explain what are run-time errors?

600






The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1049


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

554


Without Computer networks, Computers will be half the use. Comment.

1861


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

599


What language is c written?

568


What is a buffer in c?

565


why we wont use '&' sing in aceesing the string using scanf

1773


What are enumerated types?

644


What is meant by type specifiers?

650


What is methods in c?

632