What is the difference between macros and inline functions?
Answer Posted / karna
when macro function executing the program control go to that macro function definition part
when inline function executed the definition part of function
came in inline functin call part and executed...program control not chance in any where of the program...
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Which header file is used for clrscr?
Why is a semicolon (;) put at the end of every program statement?
How do you convert strings to numbers in C?
Write a program for finding factorial of a number.
Is a house a mass structure?
When is a “switch” statement preferable over an “if” statement?
What is hashing in c?
What are external variables in c?
Are local variables initialized to zero by default in c?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Explain the meaning of keyword 'extern' in a function declaration.
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What are the types of arrays in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Write a program to print fibonacci series using recursion?