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";
}
What kind of problems does name mangling cause?
What are the different scope C++ provide ?
What is a constructor initializer list?
What is meant by exit controlled loop?
What is an abstract class in C++
0 Answers SwanSoft Technologies,
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
Write a program that can take input from 3 to 8 and calculate the average?
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
What is the difference between malloc, calloc and realloc?
What Is A Default Constructor in C++ ?
What is placement new?
How can you force the compiler to not generate them?