wap to print "hello world" without using the main function.
Answer Posted / kk
Here is a basic sample which uses main as the entry point..
#include <stdio.h>
#define myProxyMain main
int myProxyMain()
{
printf("\nHello World !!");
getchar();
return 0;
}
Just note that at source level there is no main but once
preprocessing we still have the old main() method.. Which
means we still have the main method in the object module as
well as the executable..
| Is This Answer Correct ? | 37 Yes | 11 No |
Post New Answer View All Answers
If null and 0 are equivalent as null pointer constants, which should I use?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What are pointers in C? Give an example where to illustrate their significance.
Explain modulus operator. What are the restrictions of a modulus operator?
Define C in your own Language.
Is it better to use malloc() or calloc()?
Should I learn data structures in c or python?
What is the difference between procedural and declarative language?
How can you tell whether a program was compiled using c versus c++?
Is stack a keyword in c?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is the general form of function in c?
What is extern storage class in c?
What does s c mean on snapchat?
What are the types of type qualifiers in c?