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
Can math operations be performed on a void pointer?
Explain the term printf() and scanf() used in c language?
What is difference between array and structure in c?
Explain pointers in c programming?
what is the difference between class and unio?
How can I manipulate individual bits?
What is main () in c language?
Why main is not a keyword in c?
can we change the default calling convention in c if yes than how.........?
Can you please explain the difference between exit() and _exit() function?
How do you determine whether to use a stream function or a low-level function?
What is bss in c?
What are the types of data types and explain?
I need a sort of an approximate strcmp routine?
What is define c?