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


Please Help Members By Posting Answers For Below Questions

What is int main () in c?

833


‎How to define structures? · ‎

820


I heard that you have to include stdio.h before calling printf. Why?

792


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2961


Is swift based on c?

833






What is meant by realloc()?

872


What is c standard library?

877


How many data structures are there in c?

799


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

894


What are qualifiers in c?

757


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1449


What does the characters “r” and “w” mean when writing programs that will make use of files?

1156


When should we use pointers in a c program?

835


By using C language input a date into it and if it is right?

781


List out few of the applications that make use of Multilinked Structures?

1689