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 the difference between exit() and _exit() function?

632


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

760


What is enumerated data type in c?

617


What are the advantages of external class?

590


What is a keyword?

740






The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

704


What is 2c dna?

602


praagnovation

1774


to find the closest pair

1816


List some basic data types in c?

557


When can you use a pointer with a function?

562


Which control loop is recommended if you have to execute set of statements for fixed number of times?

805


Explain Basic concepts of C language?

640


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

708


What is new line escape sequence?

805