⟩ What is the output of this program? #include <iostream> using namespace std; void fun(int x, int y) { x = 20; y = 10; } int main() { int x = 10; fun(x, x); cout << x; return 0; } a) 10 b) 20 c) compile time error d) none of the mentioned
a) 10
a) 10
Explain what are VTABLE and VPTR?
Please explain is there a difference between class and struct?
Tell us what is the use of volatile keyword in c++? Give an example?
Tell me what is difference between C and C++?
Do you know who designed C++ programming language?
Explain is it possible to have a recursive inline function?
Tell me how can a C function be called in a C++ program?
Tell us can we use malloc() function of C language to allocate dynamic memory in C++?
Tell us how to make sure a C++ function can be called as e.g. void foo(int, int) but not as any other type like void foo(long, long)?
Do you know what is the role of mutable storage class specifier?