1.

Which of the following can combine buffers in a regular and methodical way using pointers?(a) buffer exchange(b) directional buffer(c) linked lists(d) double bufferThis question was posed to me in a job interview.My enquiry is from Buffer Exchange in chapter Buffering and other Data Structures of Embedded Systems

Answer»

Right choice is (C) linked lists

The best explanation: The linked lists are the way of combining buffers in a methodical way and REGULAR METHOD by using the pointers to POINT the NEXT entry in the list. This can be maintained by adding an entry to the which contains the address of the next buffer.



Discussion

No Comment Found

Related InterviewSolutions