What is the difference between macros and inline functions?
Answer Posted / kiran kumar yakkala
Macro- does not involve in compilation if there is any
logical error also just replaces the code
inline- look like function, but control doesn't goes to
fucntion and execute, it simply replaces the code like
macro but involves in compilation.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is pass by reference in c?
When should you not use a type cast?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Why we write conio h in c?
I need previous papers of CSC.......plz help out by posting them.......
Can we declare variables anywhere in c?
What are the preprocessor categories?
What is use of integral promotions in c?
Explain how do you declare an array that will hold more than 64kb of data?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is #include stdio h?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is difference between function overloading and operator overloading?
What are derived data types in c?