Why Pointers are not used in C++?
No Answer is Posted For this Question
Be the First to Post Answer
What is a c++ object?
What is data structure in c++?
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
What do you mean by “this” pointer?
Differentiate between a copy constructor and an overloaded assignment operator.
What is the disadvantage of using a macro?
What is the use of this pointer in c++?
What is std namespace in c++?
int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30
What is meant by the term name mangling in c++?
Define linked lists with the help of an example.
Comment on local and global scope of a variable.