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
What are conditional operators in C?
Tell me the use of bit field in c language?
How many levels of pointers have?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What are the different types of errors?
Explain how can I avoid the abort, retry, fail messages?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What are void pointers in c?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Write a program to print numbers from 1 to 100 without using loop in c?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What are header files in c?
Explain what is the most efficient way to store flag values?
What does sizeof return c?
Explain how can you tell whether a program was compiled using c versus c++?