Define a way other than using the keyword inline to make a function inline?
Answer / subham chaudhary
The function must be defined inside the class.
Is This Answer Correct ? | 0 Yes | 0 No |
Write a recursive program to calculate factorial in c++.
What is the default access level?
What is setw manipulator in c++?
Why would you use pointers in c++?
what are the iterator and generic algorithms.
Explain dangling pointer.
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
Why do we need pointers?
this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }
What is pointer to array in c++?
Why is c++ not purely object oriented?
List the merits and demerits of declaring a nested class in C++?