what is new operator in c++



what is new operator in c++..

Answer / sherly

New operator is used to create objects.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More OOPS Interview Questions

#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }

1 Answers  


How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?

1 Answers   IntraLogic,


what's the basic's in dot net

0 Answers   informatics,


What does enum stand for?

0 Answers  


What are the advantanges of modularity

2 Answers  






Whats oop mean?

0 Answers  


what are the ways in which a constructors can be called?

2 Answers   TCS,


In multiple inheritance , to create sub class object , is there need to create objects for its superclasses??? in java and c++ both. Actually i have some information that is , all available members from its superclasses , memory created in subclass obj , so no need to create object for its superclasses...??? Thanks in Advance

1 Answers  


Difference between new operator and operator new

2 Answers  


How is class defined?

0 Answers  


Why many objects can working together? How objects working togetherM I want to see example code.

2 Answers  


1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 Answers   Nagarro,


Categories