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 c standard library?
Explain what is page thrashing?
Is the exit() function same as the return statement? Explain.
What is 'bus error'?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Place the #include statement must be written in the program?
Can a variable be both static and volatile in c?
Explain how can you tell whether a program was compiled using c versus c++?
What is function what are the types of function?
Why structure is used in c?
What is the use of typedef in structure in c?
Can you mix old-style and new-style function syntax?
What are run-time errors?
What is openmp in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.