Explain the advantages and disadvantages of macros.


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

Post New Answer

More C Interview Questions

Where in memory are my variables stored?

0 Answers  


How can I read and write comma-delimited text?

0 Answers  


Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work

2 Answers  


Why do we need functions in c?

0 Answers  


wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }

2 Answers  


what are threads ? why they are called light weight processes ? what is the relation between process and threads ?

1 Answers  


explain how do you use macro?

0 Answers  


What is undefined behavior?

1 Answers  


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

0 Answers   Aspire, Infogain,


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

0 Answers  


What is optimization in c?

0 Answers  


how do you redirect stdout value from a program to a file?

1 Answers  


Categories