write a “Hello World” program in “c” without using a semicolon?

Answer Posted / rajeev

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

For if statement compiler does not expect semi colon.

Is This Answer Correct ?    55 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the similarities between c and c++?

690


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2526


Can a variable be both constant and volatile?

654


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2002


What are nested functions in c?

657






Can you please explain the scope of static variables?

696


What is printf () in c?

669


What is #line in c?

650


what does static variable mean?

746


where are auto variables stored? What are the characteristics of an auto variable?

693


How can I implement sets or arrays of bits?

695


How can I delete a file?

715


How do I read the arrow keys? What about function keys?

705


Explain what is the difference between functions abs() and fabs()?

716


What is register variable in c language?

698