main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / chaitanya
Main() is a predeclared userdefined function,bcoz according to formal case the declaration of main is done already with a definite name which the user cannot chnge..but in later case the body or the definition of which is given by the user accordng to his need..i.e.:main is a pre declared user defined function.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How can you draw circles in C?
What is the importance of c in your views?
What tq means in chat?
Does c have an equivalent to pascals with statement?
What is the difference between procedural and functional programming?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
What are multibyte characters?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
Does * p ++ increment p or what it points to?
define string ?
What is function in c with example?
What is chain pointer in c?
What is meant by high-order and low-order bytes?
What is the difference between the = symbol and == symbol?
Tell us the use of fflush() function in c language?