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

write a c program for swapping two strings using pointer

2335


What is d scanf?

803


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1827


How can I implement a delay, or time a users response, with sub-second resolution?

853


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

998


Differentiate between full, complete & perfect binary trees.

869


I need a sort of an approximate strcmp routine?

845


What is the use of typedef in structure in c?

728


Explain 'far' and 'near' pointers in c.

908


What are near, far and huge pointers?

848


main() { printf("hello"); fork(); }

964


What is console in c language?

841


What is the main difference between calloc () and malloc ()?

856


What is default value of global variable in c?

766


What does void main return?

844