How is a macro different from a function?


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

Post New Answer

More C Interview Questions

write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com

6 Answers  


what is the maximum limit of row and column of a matrix in c programming. in linux .

4 Answers   NIIT,


Write a program to print prime nums from 1-20 using c programing?

13 Answers   IBM,


If an old women's age is the same as her three grand daughters i,mean the number of days old child=the no of weeks old child=no of months old child .The total yrs of all these ppl is 114 yrs...then how old is the old woman? the yr has 365 days..and 30 days each month.

1 Answers   TCS,


Should I learn data structures in c or python?

0 Answers  






24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?

2 Answers  


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

1 Answers   TCS,


Implement bit Array in C.

0 Answers   GrapeCity,


what is diff between localstatic and globalstatis variable possible 2 use in another file...?

2 Answers   HCL,


how to use showbits function?

2 Answers   Infosys, TATA,


I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.

1 Answers  


Can a function argument have default value?

0 Answers   Genpact,


Categories