C++ Programming

1) to where do the program control transfers when the exception in arisen?

Answer Is: (B) handlers

Explanation:

No answer description available for this question. Let us discuss.

2) what is meant by hybrid inheritances?

Answer Is: (D) combination of multi-level and ierarchical inheritance

Explanation:

No answer description available for this question. Let us discuss.

3) how many ways of passing a parameter are there c++?

Answer Is: (C) 3

Explanation:

No answer description available for this question. Let us discuss.

4) the size of an object or a type can be determined using which operator?

Answer Is: (B) size of

Explanation:

No answer description available for this question. Let us discuss.

5) the destination statement for the goto label is identified by whtAT LABEL?

Answer Is: (D) :

Explanation:

No answer description available for this question. Let us discuss.

6) how many macros are used to create the pseudo random generator?

Answer Is: (D) both random and cstdlib

Explanation:

No answer description available for this question. Let us discuss.

7) which keyword is used to define the used the user defined data types?

Answer Is: (C) typedef

Explanation:

No answer description available for this question. Let us discuss.

8) which of the following permits function overloading on c++?

Answer Is: (C) type&number of agruments

Explanation:

No answer description available for this question. Let us discuss.

9) identify the user -defined types from the following ?

Answer Is: (C) both enumeration and classes

Explanation:

No answer description available for this question. Let us discuss.

10) which of the following is not one of the size of the floating point types?

Answer Is: (A) short float

Explanation:

No answer description available for this question. Let us discuss.

11) the constants are also called as

Answer Is: (C) literals

Explanation:

No answer description available for this question. Let us discuss.

12) choose out the other definition of objects.

Answer Is: (D) instnace of the class

Explanation:

No answer description available for this question. Let us discuss.

13) how are the constants declared ?

Answer Is: (C) both const keyword and# define preprocessor

Explanation:

No answer description available for this question. Let us discuss.

14) c++ development started in_____

Answer Is: (A) 1979

Explanation:

No answer description available for this question. Let us discuss.

15) the value 42.54 can be represented using which data type?

Answer Is: (A) double

Explanation:

No answer description available for this question. Let us discuss.

16) in which type do the enumerators are stored by the compiler?

Answer Is: (B) integer

Explanation:

No answer description available for this question. Let us discuss.

17) in c++,what is the sign of character data type by defult?

Answer Is: (C) implemernttion dependent

Explanation:

No answer description available for this question. Let us discuss.

18) what is the size of wchar_t in c++?

Answer Is: (D) based on the number of bits in the system

Explanation:

No answer description available for this question. Let us discuss.

19) which of the following accesses the sixthelement stored in array?

Answer Is: (B) array[5]:

Explanation:

No answer description available for this question. Let us discuss.

20) which of more effective while calling the functions?

Answer Is: (B) call by referance

Explanation:

No answer description available for this question. Let us discuss.

21) which of the following correctly declares an array?

Answer Is: (A) int array[5]:

Explanation:

No answer description available for this question. Let us discuss.

22) the data elements in the structure are also know as what?

Answer Is: (B) members

Explanation:

No answer description available for this question. Let us discuss.

23) what is the mandatory part to present in function pointers?

Answer Is: (C) data types

Explanation:

No answer description available for this question. Let us discuss.

24) which of these following members are not accessed by using direct member access operator?

Answer Is: (D) both private&protected

Explanation:

No answer description available for this question. Let us discuss.

25) whaT does '\a' escape code represent?

Answer Is: (A) alert

Explanation:

No answer description available for this question. Let us discuss.

26) which type is best suited to represent the logical valus?

Answer Is: (B) boolean

Explanation:

No answer description available for this question. Let us discuss.

27) what is the mandatory preprocessor directive foe c++?

Answer Is: (B) #include<iostream>

Explanation:

No answer description available for this question. Let us discuss.

28) java is created by sun micro system.

Answer Is: (B) sun micro system

Explanation:

No answer description available for this question. Let us discuss.

29) what is use of function call operator?

Answer Is: (B) overloading the objects

Explanation:

No answer description available for this question. Let us discuss.

30) java compiler produces intermediate code called_____.

Answer Is: (B) byte code

Explanation:

No answer description available for this question. Let us discuss.

31) which is used to create a pure virtual function?

Answer Is: (B) =0

Explanation:

No answer description available for this question. Let us discuss.

32) which class is used to design the base class?

Answer Is: (A) abstract class

Explanation:

No answer description available for this question. Let us discuss.

33) which one of the following id not a possible state for a pointer.

Answer Is: (D) point to a type

Explanation:

No answer description available for this question. Let us discuss.

34) what will be used when terminating a atructure?

Answer Is: (C) ;

Explanation:

No answer description available for this question. Let us discuss.

35) c++ progrmming languagee is extension to _______

Answer Is: (D) c language

Explanation:

No answer description available for this question. Let us discuss.

36) the switch statement is also calles as?

Answer Is: (B) selective structure

Explanation:

No answer description available for this question. Let us discuss.

37) c++is also called as_____

Answer Is: (D) c with classes

Explanation:

No answer description available for this question. Let us discuss.

38) which is first popular object oriceted programming language ?

Answer Is: (B) c++

Explanation:

No answer description available for this question. Let us discuss.

39) which operator is used to create the user-defined streams in c++?

Answer Is: (D) both>>&<<

Explanation:

No answer description available for this question. Let us discuss.

40) when struct is used instead of the keyword class menas,what will happen in the program?

Answer Is: (A) access is public by default

Explanation:

No answer description available for this question. Let us discuss.

41) what are mandatory parts in function declaration?

Answer Is: (A) retuurn type,function name

Explanation:

No answer description available for this question. Let us discuss.

42) c++developed by?

Answer Is: (D) bjarne stroustrup

Explanation:

No answer description available for this question. Let us discuss.

43) c++code is machine dependent and tied to particular_____

Answer Is: (A) os

Explanation:

No answer description available for this question. Let us discuss.

44) the data members and functions of a class in c++ are by defult___________.

Answer Is: (B) private

Explanation:

No answer description available for this question. Let us discuss.

45) which of the following belongs to the set of character types?

Answer Is: (D) both wcher_t and char

Explanation:

No answer description available for this question. Let us discuss.

46) what is the index number of the last element of an array with 10 elements?

Answer Is: (A) 9

Explanation:

No answer description available for this question. Let us discuss.

47) what meanant by hierarchical inheritances?

Answer Is: (D) when there is a need to create multiple derived classes

Explanation:

No answer description available for this question. Let us discuss.

48) the operator used for dereferemcing or indirection is______

Answer Is: (A) *

Explanation:

No answer description available for this question. Let us discuss.

49) which header fille is required for manipulation of math functions in c++?

Answer Is: (A) cmath

Explanation:

No answer description available for this question. Let us discuss.

50) what will you use if you are not intended to get return value?

Answer Is: (D) void

Explanation:

No answer description available for this question. Let us discuss.

Comments (0)

Leave your comment

Please enter comment.

Please enter name.
Please enter valid email address.
Please enter valid website URL.

Up