Answer Posted / vadivel t
Hi Vignesh,
All the answers u hav posted is correct except declaration
of a variable.
Cos, in C++ we can declare a variable anywhere in a
function.
But in C it is poosible to declare only at the starting of
the function.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a void pointer? When is a void pointer used?
Can you please explain the difference between strcpy() and memcpy() function?
What is the explanation for cyclic nature of data types in c?
Why is %d used in c?
What is merge sort in c?
If null and 0 are equivalent as null pointer constants, which should I use?
Differentiate between a structure and a union.
Can include files be nested? How many levels deep can include files be nested?
What is modifier & how many types of modifiers available in c?
Can we assign string to char pointer?
Explain continue keyword in c
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:
What is the best style for code layout in c?
What is dynamic dispatch in c++?
What is c programing language?