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 |
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
Explain what are preprocessor directives?
Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both
Why can't we initialise member variable of a strucutre
Explain how can I manipulate strings of multibyte characters?
int x=5; printf("%d%d%d",x,x<<2,x>>2);
write a program to gat the digt sum of a number (et. 15= >1+5=6)
Write a program in c to replace any vowel in a string with z?
without using arithmatic operator convert an intger variable x into x+1
How many levels of indirection in pointers can you have in a single declaration?
0 Answers Agilent, ZS Associates,
which header file contains main() function in c?
17 Answers Google, HCL, TCS,
What is maximum size of array in c?