ExamVeda
Login
Home
31
What is this operator called ?:?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
32
Which operator is having the right to left associativity in the following?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
33
What is the use of dynamic_cast operator?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
34
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
main()
{
    double a = 21.09399;
    float b = 10.20;
    int c ,d;
    c = (int) a;
    d = (int) b;
    cout << c <<' '<< d;
    return 0;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
35
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
    int i, j;
    j = 10;
    i = (j++, j + 100, 999 + j);
    cout << i;
    return 0;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
36
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
    int a;
    a = 5 + 3 * 5;
    cout << a;
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board