C Programming Question and Answers
81. | What is FIFO? |
---|---|
In C programming, there is a data structure known as queue. In this structure, data is stored and accessed using FIFO format, or First In First Out. A queue represents a line wherein the first data that was stored will be the first one that is accessible as well. | |
82. | What is stack? |
---|---|
A stack is one form of data structure. Data is stored in stacks using the FILO (First In Last Out) approach. At any particular instance, only the top of the stack is accessible. Which means that in order to retrieve data that is stored inside the stack, those on the upper part should be extracted first. Storing data in a stack is also referred to as a PUSH, while data retrieval is referred to as a POP. | |
83. | What are linked lists? |
---|---|
A linked list is composed of nodes that are connected with another. In C programming linked lists are created using pointers. Using linked lists is one efficient way of utilizing memory for storage. | |
84. | What is the different file extensions involved when programming in C? |
---|---|
Source code in C is saved with .C file extension. Header files or library files have the .H file extension. Every time a program source code is successfully compiled, it creates an .OBJ object file, and an executable .EXE file. |
|