Explain RAII (Resource Acquisition Is Initialization).
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
• A programming idiom where resource allocation is tied to object lifetime. Destructors release resources.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the advantage of c++ over c?
What is an operator function? Describe the function of an operator function?
Are strings mutable in c++?
What is 'Copy Constructor' and when it is called?
Which one of the following describes characteristics of "protected" inheritance? a) The base class has access only to the public or protected members of the derived class. b) The derived class has non-public, inheritable, access to all but the private members of the base class. c) The derived class has access to all members of the base class. d) The private members of the base class are visible within the derived class. e) Public members of the derived class are privately accessible from the base class.
Why should you learn c++?
What is a namespace in c++?
what is VOID?
What is a breakpoint?
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
Why cout is used in c++?