main is a predefined or user define function
if user defined why?
if predefined whay?
Answers were Sorted based on User's Feedback
Answer / shankar dayal
main() function is niether predefined nor user defined function. Because if it is predefined, when program is written in main() function then given their own logic then how it is predefined. Another one if it is user defined, then we can write the any function name on the place of main(). So main() is niether a predefined nor user defined function.
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / ankith.v
main is Predefined.why because its is implemented by the
developer
| Is This Answer Correct ? | 3 Yes | 13 No |
What should malloc() do?
how to swap two integers 1 and 32767 without using third variable
WAP to find that given no is small or capital
Why is C language being considered a middle level language?
What is extern keyword in c?
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe
Read two numbers from keyboard and find maximum of them?
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).
What is array within structure?