main is a predefined or user define function
if user defined why?
if predefined whay?

Answer Posted / chitaranjan barik

Main() is a predefined
function,because it's
prototype,call function,
returning val -all these
parameters only kown
to compile,not to
user.but we can use it
as user defined by
specifying our own
parameter

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are comments and how do you insert it in a C program?

751


What is the difference between Printf(..) and sprint(...) ?

794


What does the c in ctime mean?

576


What is uint8 in c?

650


write a program to display all prime numbers

1461






What are header files in c programming?

660


Explain the difference between the local variable and global variable in c?

608


Are global variables static in c?

681


What are structural members?

578


What is extern keyword in c?

648


What is difference between static and global variable in c?

543


Write a simple code fragment that will check if a number is positive or negative.

715


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1788


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

1670


How can I manipulate strings of multibyte characters?

643