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
What is ## preprocessor operator in c?
Is return a keyword in c?
What is printf () in c?
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)
Explain what are run-time errors?
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.
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Without Computer networks, Computers will be half the use. Comment.
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
What language is c written?
What is a buffer in c?
why we wont use '&' sing in aceesing the string using scanf
What are enumerated types?
What is meant by type specifiers?
What is methods in c?