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 |
What is a struct c#?
#include<stdio.h> main(0 { printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3)); }
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
5 Answers TCS, Vimukti Technologies,
write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.
What is undefined behavior?
What are the types of data types and explain?
What is static volatile in c?
Mention four important string handling functions in c languages .
How to find a missed value, if you want to store 100 values in a 99 sized array?
Why c++ is called c++ and not c+?
Why can arithmetic operations not be performed on void pointers?
how to add two numbers without using arithmetic operators?