What's the difference between a linked list and an array?
Answer Posted / shilpa
array is static ,where we need to intialize the size in
starting , but linkelist is dynamic , we can dynamically
add the any variable in to the list
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
Can you write the algorithm for Queue?
What is variable and explain rules to declare variable in c?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
Can variables be declared anywhere in c?
What are pragmas and what are they good for?
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 are the restrictions of a modulus operator?
Which header file is essential for using strcmp function?
What are local static variables? How can you use them?
How is a structure member accessed?
What are # preprocessor operator in c?
Are pointers really faster than arrays?
Why do we need volatile in c?
What are dangling pointers? How are dangling pointers different from memory leaks?
What does volatile do?