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

6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?

3 Answers  


what is the use of fflush() function?

2 Answers  


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

0 Answers  


What is the difference between malloc calloc and realloc in c?

0 Answers  


WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****

2 Answers  






What is the significance of an algorithm to C programming?

0 Answers  


what is the difference between definition and declaration? give me some examples.

2 Answers   TCS,


Why calloc is better than malloc?

0 Answers  


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Bosch,


what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }

1 Answers  


what is the function of pragma directive in c?

0 Answers  


Should I learn data structures in c or python?

0 Answers  


Categories