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
Are pointers really faster than arrays?
Do you have any idea about the use of "auto" keyword?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
What is structure of c program?
What is string function c?
Explain enumerated types.
How can you return multiple values from a function?
What are the advantages of using new operator as compared to the function malloc ()?
What is static memory allocation?
What is %s and %d in c?
What is the use of a semicolon (;) at the end of every program statement?
How do I read the arrow keys? What about function keys?
Explain how do you declare an array that will hold more than 64kb of data?
What does int main () mean?
How can I manipulate strings of multibyte characters?