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 is the scope of static variables in c language?
How can you draw circles in C?
What functions are in conio h?
What is variable and explain rules to declare variable in c?
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......
How to write a code for reverse of string without using string functions?
What is extern c used for?
Why void is used in c?
Can math operations be performed on a void pointer?
When c language was developed?
What is the difference between scanf and fscanf?
Is swift based on c?
What is ## preprocessor operator in c?
What are the data types present in c?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }