Top Banner
Each Question carries 2 marks. Choose correct or the best alternative in the following: Q.1 The address of a variable temp of type float is (A) *temp (B)&temp (C) float& temp ()float temp& Ans: B Q.2 What is the output of the following code char symbol[3]={a!"b!"c!#$ for %int inde ='$ inde (3$ inde )) cout (( symbol [inde ]$ (A)a b c (B)+abc, (C)abc ()abc! Ans: C Q.! The process of building new classes from e isting one is called ------. (A) /olymorphism (B) 0tructure (C) 1nheritance ()2ascading Ans: C Q." 1f a class 2 is derived from class " which is derived from class 4" all thr inheritance" then a class 2 member function can access
35

Each Question Carries 2 Marks

Nov 04, 2015

Download

Documents

Neha Verma

jgh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

Each Question carries 2 marks.Choose correct or the best alternative in the following:Q.1 The address of a variable temp of type float is (A) *temp (B) &temp (C) float& temp (D) float temp& Ans: BQ.2 What is the output of the following code char symbol[3]={a,b,c}; for (int index=0; index100) cout