How many types of linked lists what are they?
How many types of data structures?

Answer Posted / shumaila bashir sheikh

There are basically three types of linked list.
1) single linked list
2) Double Linked list
3) Circular linked list

there are two types of data structures
1) Linear Data Structures
Array, Linked list, pointers, stack, queues etc
2) Non-Linear Data Structure
Trees, Graphs

Is This Answer Correct ?    93 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know null pointer?

607


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

626


List the difference between a 'copy constructor' and a 'assignment operator' in C?

637


What are the two forms of #include directive?

642


What is the difference between mpi and openmp?

733






What is realloc in c?

581


can we have joblib in a proc ?

1651


What is an array? What the different types of arrays in c?

655


What is a c token and types of c tokens?

587


Explain what is operator promotion?

631


How do I determine whether a character is numeric, alphabetic, and so on?

621


What is the use of structure padding in c?

562


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1627


What is the use of function in c?

709


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

584