Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / pravat kumar patra
main() is a user defind function.because we write some codes
inside main to perform certain task.but in case of sqrt() if
write the function in a program it executes.but we have not
to write the function body.
consider the case:-
void main() void main()
{ {
printf("hello"); inti=25,p=sqrt(i);
} printf("%d",p);
}
use header file math.h.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is a pointer a kind of array?
What is structure pointer in c?
What are the keywords in c?
Where static variables are stored in memory in c?
Explain what header files do I need in order to define the standard library functions I use?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What are external variables in c?
What are the application of void data type in c?
What are variables c?
Is c is a middle level language?
How many types of sorting are there in c?
What is return in c programming?
What does c mean in basketball?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain how do you override a defined macro?