ExamVeda
Login
Home
51
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
    int n = 15;
    for ( ; ;)
    cout << n;
    return 0;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
52
Which of the following is correct about Functors?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
53
What must be an operand of operator delete?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
54
What will be the output of the following C++ code?
#include<iostream>
#include<any>
using namespace std;
int main()
{
	float val = 5.5;
	any var(val);
	cout<<var.type().name()<<endl;
	return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
55
How many ways are there for constructing a bitset?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
56
What will be the output of the following C++ code?
#include <iostream>
#include <string>
using namespace std;
int main ()
{
    string mys;
    char mya[20]= "Hello world";
    mys = mya;
    cout << mys << '\n';
    return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
57
In which of the following relationship objects of related classes are strongly dependent?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
58
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
    int i;
    for (i = 0; i < 10; i++);
    {
        cout << i;
    }
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
59
What do maps and sets support?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
60
Pick out the incorrect static function member in numeric limits.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board