Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / 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 |
Post New Answer View All Answers
What is the explanation for modular programming?
Is using exit() the same as using return?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is the use of volatile?
Distinguish between actual and formal arguments.
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Write a program to know whether the input number is an armstrong number.
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Tell me what is the purpose of 'register' keyword in c language?
When should the register modifier be used? Does it really help?
Why c language is called c?
Why should I use standard library functions instead of writing my own?
Can we declare function inside main?
Does c have an equivalent to pascals with statement?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon