What is a macro, and explain how do you use it?


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

Post New Answer

More C Interview Questions

Write a program that takes three variables(a,b,c) in as separate parameters and rotates the values stored so that value a goes to b,b,to c and c to a

7 Answers  


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

0 Answers  


Program to find the absolute value of given integer using Conditional Operators

6 Answers   N Tech,


Describe how arrays can be passed to a user defined function

0 Answers  


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

0 Answers  






Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


Can you write a programmer for FACTORIAL using recursion?

0 Answers   ADP,


Define recursion in c.

0 Answers  


what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }

4 Answers  


Explain the concept and use of type void.

0 Answers  


How to removing white spces in c programming only bu using loops

2 Answers  


What is a structure member in c?

0 Answers  


Categories