what is macro in c?
Difference between single linked list & double linked list
what is fifo & lifo?
what is stack & queue?

Answers were Sorted based on User's Feedback



what is macro in c? Difference between single linked list & double linked list what is fifo &a..

Answer / nilam

Macros are preprocessor directives that are defined using #define directive. Macros consist of two parts Macro_Name, & Macro_Substitution_Text.
Before the source code gets complied, the preprocessor will check for the presence of macros. & wherever it found that macro simply replaces that macros with substitution text.

Macros are not Type Safe.

Is This Answer Correct ?    21 Yes 0 No

what is macro in c? Difference between single linked list & double linked list what is fifo &a..

Answer / revathi

stack is a last in, first out (LIFO).It is characterized by only three fundamental operations: push, pop and stack top.

The queue is a First-In-First-Out (FIFO) data structure. In a FIFO data structure, the first element added to the queue will be the first one to be removed.

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More C C++ Errors Interview Questions

which typw of errors ? & how to solve it ?

0 Answers  


void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..

32 Answers   College School Exams Tests, CTS, HCL, iGate, SmartData,


wap for bubble sort

3 Answers  


difference between c/c++ programing language? what is necessesity of c++ when existing c programing language?

2 Answers   TCS,


what is meant for variable not found?

3 Answers  






Given an int variable n that has been initialized to a positive value and, in addition, int variables k and total that have already been declared, use a do...while loop to compute the sum of the cubes of the first n whole numbers, and store this value in total . Thus if n equals 4, your code should put 1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 into total . Use no variables other than n , k , and total .

3 Answers  


errors are known as?

3 Answers   EX, State Bank Of India SBI,


I'm having trouble with coming up with the correct code. Do I need to put a loop? Please let me know if I'm on the right track and what areas I need to correct. I still don't have a good grasp on this programming stuff. Thanks =) The assignment was to write a program using string functions that accepts a coded value of an item and displays its equivalent tag price. The base of the keys: 0 1 2 3 4 5 6 7 8 9 X C O M P U T E R S Sample I/O Dialogue: Enter coded value: TR.XX Tag Price : 68.00

3 Answers   UCB,


who was the present cheif governor of reserve bank of india

6 Answers   State Bank Of India SBI,


I am using Qt 5.6 during compilation it stops and gives error about Qmake The process "C:QtQt5.6.35.6.3msvc2015_64inqmake.exe" crashed. Error while building/deploying project untitled1 (kit: Desktop Qt 5.6.3 MSVC2015 64bit) When executing step "qmake"

0 Answers  


write a profram for selection sort whats the error in it?

2 Answers  


How to create a program that lists countries capitals when country is entered? (Terribly sorry, I'm a complete novist to coding with C, am looking for inspiration and general tips on how to code and create this program.)

0 Answers  


Categories