Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program
Answer Posted / mathan
a.the first functioon in the program
| Is This Answer Correct ? | 3 Yes | 24 No |
Post New Answer View All Answers
Why main function is special give two reasons?
Is sizeof a keyword in c?
How is pointer initialized in c?
What is meant by preprocessor in c?
Difference between macros and inline functions? Can a function be forced as inline?
Is that possible to add pointers to each other?
Do you have any idea how to compare array with pointer in c?
What are global variables and explain how do you declare them?
What does emoji p mean?
What is calloc()?
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:
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What is the difference between typedef struct and struct?
What is n in c?
How do I get a null pointer in my programs?