What is the use of :: operator in c++?
No Answer is Posted For this Question
Be the First to Post Answer
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 is abstraction in c++?
Is c++ a high level language?
Evaluate: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); a) 10 b) 11 c) 1
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
How the endl and setw manipulator works?
Can a Structure contain a Pointer to itself?
What is an accessor in c++?
What is c++ and its uses?
What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?
What is setw manipulator in c++?