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 |
What is the default size allocated for array in the statement if size not specified " int a[] "
write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is destructor in oop?
in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C
What are objects in oop?
What is the difference between abstraction and polymorphism?
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
What is a class oop?
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
Write A Program using Single and Multiple Inheritance.
what is mean by design pattern