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

Answer Posted / mukul

main()
{
if( (printf("hello"))
}

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the function in c?

594


Is there sort function in c?

573


What is difference between constant pointer and constant variable?

624


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1293


Why functions are used in c?

580






How can I read and write comma-delimited text?

616


What is int main () in c?

621


What do you mean by command line argument?

636


Write a program of prime number using recursion.

613


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1879


Is there any data type in c with variable size?

628


Is there anything like an ifdef for typedefs?

696


Do character constants represent numerical values?

835


In c programming language, how many parameters can be passed to a function ?

626


Do variables need to be initialized?

616