What are 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

write a progam to compare the string using switch case?

1 Answers  


What is c language in simple words?

0 Answers  


what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year

7 Answers   TCS,


how to compare two strings without using strcmp() function??

1 Answers  


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,






plz answer.. a program that takes a string e.g. "345" and returns integer 345

4 Answers  


What is period operator in c?

3 Answers   Wipro,


Is swift based on c?

0 Answers  


What is abstract data structure in c?

0 Answers  


Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV

5 Answers   Accenture,


How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers  


How many bytes are occupied by near, far and huge pointers (dos)?

0 Answers  


Categories