Hi,
main()
{
}

Is a user defined function or Built in Functionn

Answer Posted / vikas kumar shakya

main() is a user defined function. it is the entry point of
any program.
At run time the main() function is searched as the entry to
start the program.

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c have class?

704


What are the different types of endless loops?

722


What is use of bit field?

881


Why do we use main function?

727


How do you do dynamic memory allocation in C applications?

722






When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

913


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.

1606


What is the use of getch ()?

726


I heard that you have to include stdio.h before calling printf. Why?

690


Why does this code crash?

704


What is a nested loop?

749


what is uses of .net

1361


What is time complexity c?

649


What is the size of empty structure in c?

682


What is variable initialization and why is it important?

712