What is the similarity between a Structure, Union and enumeration?
Answer / Asha Gupta
All three are user-defined data types in C: 1. Structures group related variables together. 2. Unions can hold different types of data but occupy the same memory location. 3. Enumerations provide named constants for a set of sequential values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is sorting important?
Write an algorithm to show various operations on ordered list and arrays
Differentiate between hashmap and treemap.
Can I provide array size dynamically?
Which sorting algorithm has minimum number of swaps?
What is placement new in data structures?
How can you implement a stack?
Which is better merge or quick sort?
what are the applications that use Linked lists?
What is difference between stack and queue?
Can a tree be empty?
What are the notations used in Evaluation of Arithmetic Expressions using prefix and postfix forms?