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

Answer Posted / rosaiah

int main()
{
if(printf("hello"))
{
\* blank*\
}
}

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to print the character with maximum occurence and print that number of occurence too in a string given ?

2036


What is wrong with this code?

695


What are the advantages of Macro over function?

1203


What are the types of bitwise operator?

665


what are enumerations in C

724






What is the use of clrscr?

597


What is the meaning of && in c?

550


What is wild pointer in c?

609


What is volatile, register definition in C

691


what do you mean by enumeration constant?

599


while initialization of array why we use a[][2] why not a[2][]...?

1868


What is the difference between ++a and a++?

694


Why doesn't C support function overloading?

1615


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1629


what are the different storage classes in c?

662