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

How will you declare an array of three function pointers where each function receives two ints and returns a float?

787


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

637


Why doesnt the call scanf work?

679


List the difference between a "copy constructor" and a "assignment operator"?

587


Explain how do you print only part of a string?

652






Is fortran faster than c?

587


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

717


What tq means in chat?

584


If errno contains a nonzero number, is there an error?

810


What is the sizeof () operator?

626


List some of the dynamic data structures in C?

794


What do you mean by invalid pointer arithmetic?

637


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

1543


What is main return c?

523


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

604