wap to print "hello world" without using the main function.
Answer Posted / kk
main() method is the entry point for any c/c++ program which
is compiled/linked as executable. C/C++ does not force
anyone to use only main() method as the entry point. This is
only the default behavior and can be changed. This is
generally slightly different for different compiler. But you
can do this.. Simply define any other method say noMe() to
be the entry point for the executable.
Who the hell uses main()to do main stuffs in any
executable.. It should have been called something like
start() ot begin().. :)
Well this is not the answer.. Just little guidance..
| Is This Answer Correct ? | 3 Yes | 16 No |
Post New Answer View All Answers
List the difference between a While & Do While loops?
What is ambagious result in C? explain with an example.
what type of questions arrive in interview over c programming?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is integer constants?
Write a program for finding factorial of a number.
What is the argument of a function in c?
Write a program to generate random numbers in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What are structure members?
What is the use of linkage in c language?
what is the function of pragma directive in c?
What does & mean in scanf?
What is the best organizational structure?
Explain how can I convert a string to a number?