How do you initialize a class member,
class x {
const int i;
};

Answer Posted / pappu

class abc
{
int a=4,b=3;
virtual mul(int int)=0;
}

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by entry controlled loop?

656


Explain bubble sorting.

622


Explain virtual class and friend class.

595


What is the meaning of c++?

540


What is prototype in c++ with example?

556






what are Operators and explain with an example?

701


Can comments be nested?

619


Which operations are permitted on pointers?

562


Will c++ be replaced?

542


What's the order in which the local objects are destructed?

831


Is c++ fully object oriented?

551


What is c++ in english?

572


What are arrays c++?

602


What is a volatile variable in c++?

556


What character terminates all character array strings a) b) . c) END

668