Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answers were Sorted based on User's Feedback
Answer / suyash kumar (c.s. 1st year ni
it is user defined function..........as if we make another
funtion say for factorial void fact() and store it in
lib fun. then apply it in program except main it work as a
funtion.........moreover we defined main as we write
instruction in it and execution take place
| Is This Answer Correct ? | 1 Yes | 5 No |
Answer / divya
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
| Is This Answer Correct ? | 6 Yes | 12 No |
Answer / vignesh1988i
it's actually user defined built in function...... since we
the user gave the function name as main() when we write the
coding for the compailer........
| Is This Answer Correct ? | 28 Yes | 41 No |
Answer / abhishek munde
main () is user defined function built in function.....
bcoz we define what it will do... and it already has it's
name as main.
| Is This Answer Correct ? | 10 Yes | 26 No |
Answer / narender vadhava
it's a inbuilt function but it don't return any value
because void is used to return a charachter value.
| Is This Answer Correct ? | 21 Yes | 67 No |
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
Why is event driven programming or procedural programming, better within specific scenario?
What is calloc() function?
What ios diff. Between %e & %f?
what are the different storage classes in c?
What is the difference between void main() and void main (void) give example programme?
Describe the steps to insert data into a singly linked list.
can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
a value that does not change during program execution a) variabe b) argument c) parameter d) none