What is an inline function in c++?
Answer / Ajay Singh
An inline function in C++ is a special function that, when called, is inserted at the point of call (inline expansion) instead of being called indirectly through a function call. The purpose is to optimize execution speed by reducing the overhead associated with function calls.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is c++ still being used?
Explain the extern storage classes in c++.
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What is the real purpose of class – to export data?
When a function is made inline. Write the situation where inline functions may not work.
When you overload member functions, in what ways must they differ?
What do you mean by enumerated data type?
What are the storage qualifiers?
What are the extraction and insertion operators in c++?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
What is vector processing?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort