Its a user defined function. How can it be inbuilt
function? We are the one who writes the main function.
Program execution starts with main function. We can also
compile a code without main, but we cant create exe, since
it requires a main function to execute.
it is built in function because (main )codings are written
by the software developer.so,we cant change anything in
this built in function.but user defined functions are
changed by us.
so it is built in function
=> The main function serves as the starting point for
=> It usually controls program execution by directing the
calls to other functions in the program.
=> A program usually stops executing at the end of main,
although it can terminate at other points in the program
for a variety of reasons.
=> At times, perhaps when a certain error is detected, you
may want to force the termination of a program. To do so,
use the exit function. See the Run-Time Library Reference
for information on and an example using the exit function.
main() is a user defined function. it is the entry point of
I use turbo C which allocates 2 bytes for integers and 4
bytes for long. I tried to declare array of size 500000 of
long type using the following code...
arr=(long *)(malloc)(500000 * sizeof(long));
It gives a warning that "Conversion may lose significant
digits in function main"...
And the resulting array size was very less around 8400 as
compared to 500000. Any suggestions will be welcomed....
my name is nani i completed my b-tech in hyd now i want go
for interveiw but i dont know the process of software field
interveiws plz help me anyone how many rouds there n what
rounds plz plz plz help me n where i can get these details
regarding the scope of the varibles;identify the incorrect
a.automatic variables are automatically initialised to 0
b.static variables are are automatically initialised to 0
c.the address of a register variable is not accessiable
d.static variables cannot be initialised with any expression