Answer Posted / kathir
No, Inline functions are introduced in C++ to avoid the
problems while using macros.
using inline functions in C++ is as equivalent as defining
a function macro.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What are control structures? What are the different types?
What is a void * in c?
How main function is called in c?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is null pointer constant?
Explain the difference between null pointer and void pointer.
What is modeling?
What is console in c language?
What is a good way to implement complex numbers in c?
Why structure is used in c?
What is meant by gets in c?
What is difference between structure and union in c?
Is it possible to pass an entire structure to functions?
What is gets() function?