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

Answer Posted / latiff

int main()
{
if(printf("hello world"))
}
In if statement compiler does not expect semicolon.

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why isnt there a numbered, multi-level break statement to break out

587


Explain what does a function declared as pascal do differently?

636


What is the function of volatile in c language?

664


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

651


Why doesnt that code work?

600






What does c mean in standard form?

594


What are the ways to a null pointer can use in c programming language?

588


Explain the difference between malloc() and calloc() function?

598


What are types of functions?

564


What are header files in c?

616


How is a macro different from a function?

653


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

640


How can I use a preprocessorif expression to ?

601


Explain how does flowchart help in writing a program?

628


Why calloc is better than malloc?

572