wap to print "hello world" without using the main function.

Answer Posted / siva

#include<stdio.h>
#include<conio.h>
#define siva main
siva()
{
clrscr();
printf("hello world");
getch();
return 0;
}

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sizeof array?

613


difference between native and cross compilers

1671


Why c is called free form language?

572


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

614


Define VARIABLE?

690






What are the different properties of variable number of arguments?

667


How is a null pointer different from a dangling pointer?

557


What is character constants?

714


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3731


Explain how do you convert strings to numbers in c?

593


Hi can anyone tell what is a start up code?

1616


Explain what is the difference between null and nul?

658


What is main () in c language?

596


Explain how can type-insensitive macros be created?

571


Explain how can a program be made to print the name of a source file where an error occurs?

688