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";
}
When would you use a pointer? A reference?
Write a C++ Program to find Addition of Two Numbers.
Explain the importance of method overloading in C++?
0 Answers Akamai Technologies, Infogain,
What is a memory leak in C++?
What is Advantage and Use of THIS pointer in C++ – Scenarios?
Do you know about Agilent PRECOMPILERS. ?
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70
Write a program that can take input from 3 to 8 and calculate the average?
What Is A Default Constructor in C++ ?
What is Coupling?
Explain the operator overloading feature in C++ ?