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 does static variable mean in c?
What is the difference between far and near ?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Can true be a variable name in c?
What is the general form of #line preprocessor?
What is difference between structure and union with example?
What is scanf () in c?
how should functions be apportioned among source files?
What is the condition that is applied with ?: Operator?
Can a variable be both static and volatile in c?
simple program of graphics and their output display
What does typeof return in c?
How do you use a pointer to a function?
what is bit rate & baud rate? plz give wave forms
What does the c in ctime mean?