Is it better to use a macro or a function?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

0 Answers  


What is FIFO?

0 Answers  


What is a Genralised LInked List?? Please give a detailed explation of it..

1 Answers  


Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.

3 Answers   HCL,


Why is it important to memset a variable, immediately after allocating memory to it ?

0 Answers  






we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?

4 Answers   HP, Wipro,


differentiate between const char *a; char *const a; and char const *a;

2 Answers   College School Exams Tests, HCL, TCS,


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 Answers  


What is #include conio h?

0 Answers  


What does %2f mean in c?

0 Answers  


Can you mix old-style and new-style function syntax?

0 Answers  


What is data type long in c?

0 Answers  


Categories