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
What is wrong with this initialization?
Explain what is wrong with this program statement?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
What does typeof return in c?
What does p mean in physics?
How can I read a binary data file properly?
What are pointers in C? Give an example where to illustrate their significance.
Why does everyone say not to use gets?
Explain bit masking in c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
How can I determine whether a machines byte order is big-endian or little-endian?
In C programming, what command or code can be used to determine if a number of odd or even?
int far *near * p; means
What is the difference between c and python?
What is pass by value in c?