What are issues if we mix new and free in C++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ Interview Questions

What does it mean to declare a member function as static in C++?

0 Answers   Amazon,


How to stop class inheritance in C++ with condition that object creation should be allowed

0 Answers  


What is static variable and difference between(const char *p,char const *p,const char* const p).

0 Answers   Accenture,


How to convert integer to string in C++

0 Answers  


How to run C++ program in cmd

0 Answers  






Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.

1 Answers  


Write a program that can take input from 3 to 8 and calculate the average?

0 Answers   Accenture,


How can a C function be called in a C++ program?

0 Answers  


What is the difference between malloc, calloc and realloc?

0 Answers   Alter,


What are the major differences between C and C++?

0 Answers   Amazon,


How does stack look in function calls? When does stack overflow? What can you do to remedy it?

0 Answers   Adobe,


Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  


Categories