what is the use of mutable key word
Answers were Sorted based on User's Feedback
Answer / ramakant
This keyword can only be applied to non-static and non-
const data members of a class. If a data member is declared
mutable, then it is legal to assign a value to this data
member from a const member function.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / sanjay makwana
allow to constant function in member variable
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / muthuveera
Its allows the Constant function in member variable
| Is This Answer Correct ? | 0 Yes | 0 No |
why c++ is called OOPS? waht is inherutance? what is compiler?
what is polymorphism?
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
WHEN A COPY CONSTER IS CALL ?
What is meant by oops concept?
what is the size of an empty class
why to use template classes in c++?
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
explain sub-type and sub class? atleast u have differ it into 4 points?
What is and I oop mean?
What are the components of marker interface?