who will call your main function in c under linux?
Answers were Sorted based on User's Feedback
Answer / kiransing paradeshi
When the programme is commpiled,in the kernel execl will be
called (execl will replace current process image with new
process image)in the new process strat up routine
ia executed this start up routine is written in C abd assembly.
In this routine exit(main()); function will called,this will
call to main() function.
Kiransing Paradeshi
Software Engineer
SPA Comuters (P) Ltd
Banglore,India
kiransing4u@gmail.com
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / valli
_start will call the main function in c under linux
| Is This Answer Correct ? | 4 Yes | 2 No |
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
what are bit fields? What is the use of bit fields in a structure declaration?
0 Answers Flextronics, TISL, Virtusa,
What are the types of bitwise operator?
What are the functions to open and close the file in c language?
Which is an example of a structural homology?
find the sum of two matrices and WAP for it.
What does s c mean on snapchat?
Can a program have two main functions?
WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............
What is use of null pointer in c?
write an algorithm which can find the largest number among the given list using binary search ............... this was asked in the interview
2 Answers Satyam, UNIS, Wipro,
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?