CMC Company Programming Technical

Which one of the following is the most suitable data structure for applications involving frequent additions and deletions of data elements?
A Stack
B Arrays
C Linear lists
D Linked list

Read Solution (Total 3)

CMC Other Question

In a memory system, read access takes 100 ns and write access takes 80 ns. If 60% of the access requests are reads, what is the average access time of the memory?
A) 3 ns
B) 92 ns
C) 108 ns
D) 88 ns
Consider the C language code given below.
int *a;
int b[2];
a = b;
b[0] = -46;
b[1] = -23;
*a = -34;
(*++a)++;
What are the values of b[0], b[1] at the end.
A -34, -24
B -46, -22
C -34, -22
D -46, -23