What is the difference between macros and inline functions?
Answer Posted / jayapradap a
the way they are handled. Inline functions are parsed by the compiler, whereas macros are expanded by the C++ preprocesso these are The major difference between inline functions and macros
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Difference between goto, long jmp() and setjmp()?
which type of aspect you want from the student.
What is the difference between functions abs() and fabs()?
What is #include cctype?
What is assert and when would I use it?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is difference between stdio h and conio h?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is external variable in c?
Explain what is the purpose of "extern" keyword in a function declaration?
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
Explain what is the benefit of using enum to declare a constant?
Describe the steps to insert data into a singly linked list.
Can the sizeof operator be used to tell the size of an array passed to a function?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }