Explain the uses oof nested class?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Why Pointers are not used in C++?

0 Answers   Global Logic,


Explain how to initialize a const data member.

0 Answers  


What are features of c++?

0 Answers  


What are static variables?

0 Answers  


Why do we use structure in c++?

0 Answers  






What kind of jobs can I get with c++?

0 Answers  


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.

5 Answers   Quark,


what is COPY CONSTRUCTOR and what is it used for?

0 Answers  


Define a way other than using the keyword inline to make a function inline?

1 Answers  


why is iostream::eof inside a loop condition considered wrong?

0 Answers  


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.

0 Answers  


What is the use of typedef?

0 Answers  


Categories