How can I make a program in c to print 'Hello' without
using semicolon in the code?

Answer Posted / madhu

int main()
{
if(printf("Hello"))
{

}
}

Answer 2nd is correct;

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are bus errors, memory faults, and core dumps?

998


Are the variables argc and argv are local to main?

961


Why c is a procedural language?

785


Explain the difference between #include "..." And #include <...> In c?

775


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

953






Explain the term printf() and scanf() used in c language?

787


What is clrscr in c?

869


Why doesnt the call scanf work?

892


When we use void main and int main?

782


What do mean by network ?

861


What is main return c?

707


Is it cc or c in a letter?

744


Tell me what is the purpose of 'register' keyword in c language?

804


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

885


What are types of structure?

803