FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

C++ Language INTERVIEW QUESTION & ANSWERS

Languages
66. What is the use of sizeof() operator?
  The sizeof () operator is used to find the size of a variable or the sizeof a data type in terms of the number of bytes.
Your Name Your Email-ID
Your Answer
 
67. What is copy constructor?
  Copy constructor is a constructor function with the same name as the class and used to make deep copy of objects.
Your Name Your Email-ID
Your Answer
 
68. What is default constructor?
  A default constructor is a constructor that either has no parameters, or if it has parameters, all the parameters have default values.
Your Name Your Email-ID
Your Answer
 
69. What is static variable?
  Static variables are defined within a function and they have the same scope rules of the automatic variables but in the case of static variables, the contents of the variables will be retained throughout the program.
Your Name Your Email-ID
Your Answer
 
70. What is register variable?
  Automatic variables are stored in the memory. As accessing a memory location takes time (much more time than accessing one of the machine's registers), one can make the computer to keep only a limited number of variables in their registers for fast processing. Whenever some variables are to be read or repeatedly used, they can be assigned as register variables.
Your Name Your Email-ID
Your Answer