Explain the advantages of using macro in c language?


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

Post New Answer

More C Interview Questions

How do we open a binary file in Read/Write mode in C?

0 Answers   Alter,


In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  


25. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?

11 Answers   CTS, TCS,


Find string palindrome 10marks

5 Answers   Honeywell, Infosys, Riktam, Roland,


what are the advantages & disadvantages of unions?

2 Answers  


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

0 Answers  


Can we replace the struct function in tree syntax with a union?

0 Answers   Huawei,


What is #line in c?

0 Answers  


Are comments included during the compilation stage and placed in the EXE file as well?

0 Answers  


Differentiate between Macro and ordinary definition.

0 Answers   Motorola,


what is the hardware model of CFG( context free grammar)

0 Answers   Microsoft,


in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

2 Answers   NetApp,


Categories