Identify the error in the following program.
include<iostream>
using namespace std;
void main()
{
int num[]={1,2,3,4,5,6};
num[1]==[1]num ? cout<<"Success" : cout<<"Error";
}
Define an Abstract class in C++?
How will you print a list of all unique words from a string which may contain repeated words?
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,
What do you know about Volatile keyword in C++? Explain with an example code.
Define namespace.
What is RTTI and why do you need it?
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
Explain about Searching and sorting algorithms with complexities
What kind of problems does name mangling cause?
What is name mangling/name decoration?
Explain the difference between C and C++.
What is a class in C++?
1 Answers Amazon, TCS, UGC Corporation,