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
What is the significance of an algorithm to C programming?
What are the salient features of c languages?
Explain what is the difference between the expression '++a' and 'a++'?
What are the types of macro formats?
What is the translation phases used in c language?
All technical questions
In C programming, what command or code can be used to determine if a number of odd or even?
What is pivot in c?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What does the && operator do in a program code?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
How do I convert a string to all upper or lower case?
Why do we write return 0 in c?
What is variable in c example?