![]()
Practice OOPS Concepts –
What is the output of the following code
char symbol[3]={‘a’,‘b’,‘c’};
for (int index=0; index<3; index++)
cout << symbol [index];
![]()
Practice OOPS Concepts –
What is the output of the following code
char symbol[3]={‘a’,‘b’,‘c’};
for (int index=0; index<3; index++)
cout << symbol [index];
Which of the following correctly represents a long double
![]()
Practice OOPS Concepts –
Which of the following correctly represents a long double constant?
Which of the following operations are INCORRECT?
![]()
Practice OOPS Concepts –
Which of the following operations are INCORRECT?
Which of the declaration is correct?
![]()
Practice OOPS Concepts –
Which of the declaration is correct?
By default a real number is treated as a
![]()
Practice Friend Functions –
By default a real number is treated as a
The following can be declared as friend in a class
![]()
Practice Friend Functions –
The following can be declared as friend in a class
It is possible to declare as a friend
![]()
Practice Friend Functions –
It is possible to declare as a friend
What will be the result of the expression 13 25 ?
![]()
Practice OOPS Concepts –
What will be the result of the expression 13 & 25 ?
If x = 5, y = 2 then x ∧ y equals________. (where ∧ i
![]()
Practice Exception Handling –
If x = 5, y = 2 then x ∧ y equals________. (where ∧ is a bitwise XOR operator)
What will be the values of x, m and n after the execution of the fo
![]()
Practice Inheritance –
What will be the values of x, m and n after the execution of the following statements?
int x, m, n;
m = 10;
n = 15;
x = ++m + n++;
Which statement gets affected when i++ is changed to ++i ?
![]()
Practice Operator Overloading –
Which statement gets affected when i++ is changed to ++i ?
![]()
Practice Objects and Classes –
Consider the following statements:
int x = 22,y=15;
x = (x>y) ? (x+y) : (x-y);What will be the value of x after executing these statements?
Which can be passed as an argument to a function?
![]()
Practice Functions –
Which can be passed as an argument to a function?
What will be the output of the following program?
![]()
Practice Templates –
What will be the output of the following program?
#include<iostream.h>
void main()
{
float x=5,y=2;
int result;
result=x % y;
cout<<result;
}
Which of the following statement is valid?
![]()
Practice Templates –
Which of the following statement is valid?