What are the four partitions in which c++ compiler divides the ram?


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

Post New Answer

More C++ General Interview Questions

What are raw sockets, where they are efficient?

2 Answers   Symphony,


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  


How do you know that your class needs a virtual destructor?

5 Answers   Lucent,


How is c++ used in the real world?

0 Answers  


What will happen if when say delete this ?

7 Answers  






Is c++ faster than c?

0 Answers  


Why did you leave your last job?

2 Answers  


What is the use of register keyword with the variables?

0 Answers  


What is c++ prototype?

0 Answers  


class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData

2 Answers   Quark,


What are inline functions? What is the syntax for defining an inline function?

0 Answers  


How to access a variable of the structure?

0 Answers  


Categories