C++ (1 MARK QUESTION & ANSWER)

1 .How many bytes are occupied by the float datatype in a 32-bit system.

       ANS: 4 BYTES

2. If three objects of a class are defined ,how many copies of that class's data items are stored in memory?.How many copies of its member functions.?

      ANS:No of copy of class data members:3
               No of copy of member functions:1.

3. Which data structure is required to evaluate a post-fix expression?.
   
     ANS:STACK

4.

No comments:

Post a Comment