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 is placement new?
write a program To generate the Fibonacci Series.
What is a COPY CONSTRUCTOR and when is it called?
Explain the importance of method overloading in C++?
0 Answers Akamai Technologies, Infogain,
Factory Method C++ – How to delete pointers returned by it
What is the difference between malloc, calloc and realloc?
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
C++ Public access specifier instead of Private – What is bad ?
what is a pragma in C++?
What is static variable and difference between(const char *p,char const *p,const char* const p).
What is the difference between Stack and Queue in C++?
0 Answers Global Logic, iNautix,
Write a program to generate the Fibonocci Series in C++.