Question
What is wrong with this class declaration?

Answers

class something
{
char *str;
public:
something(){
st = new char[10]; }
~something()
{
delete str;
}
};   Your Comment






Search
Can you Answer!!
  • Q Explain the different stages in Curriculum planning.
  • Q What is the function of the secretions of the prostate, seminal vesicle and bulbourethral glands in reproduction?
  • Q Why do we need class and how many different types of class exists?
  • Q What is the difference between costing and cost accounting?
  • Q What does B stands for in ECB ?
  • Q How will you convert a string to a frozen set in python
  • Q What is the difficulty in making fusion based nuclear reactors?
  • Q Why not private variables serialized with xmlserializer?
  • Q When given a choice between using an infocube and a multiprovider, what factors to consider before making a decision?
  • Q When use Oh?
  • Q How to read request headers from servlets