C++ Programing Question's
Q.1 C++ was Invented bya.Newton
b.Einstein
c.None
d.Bjarne Stroutsrup
Ans:
Q.2 C++ is a?
a. Low Level Langaugae
b. High Level Language
c. Not a Language
d. Moderate
Ans:
Q.3 What is not the type of Constructor?
a. Copy
b. Default
c. Parameterized
d. Friend
Ans:
Q.4 int i=2;
i=i+(1,2,3,4,5);
what will be the value of i?
a. Error
b. 3
c. 7
d. 3
Ans:
Q5 Which of the following Feature C++ does not have
a. Class
b. Inheritence
c. Pointer
d. Structures
Ans:
Q6 What will be the out put of the following prog
int main()
{
int i=4;
switch(i/2)
{
cout << hiiii;
case 1:
Cout << hello;
break;
case 2:
cout << bye;
break;
default:
cout << default;
}
a. Error
b. hello
c. bye
d. hiiii
Ans:
Q6 Default constructor accept how many parameter
a. no
b. 1
c. 2
d. 3
Ans:
No comments:
Post a Comment