Can you explain the term "resource acquisition is
initialization?"
Answer / melos
RAAI is the concept of releasing the aquired
memory/resources when the object goes out of scope.
E.g. std::auto_ptr
| Is This Answer Correct ? | 6 Yes | 1 No |
if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.
What is split a string in c++?
class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.
what is VOID?
Explain data encapsulation?
Incase of a function declaration, what is extern means?
What is auto used for in c++?
How many keywords are used in c++?
What is the difference between public and private data members?
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";
Should I learn c++ c?
If there are two catch statements, one for base and one for derived, which should come first?