What are the advantages of using new operator as compared to the function malloc ()?


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

Post New Answer

More C Interview Questions

What are dangling pointers? How are dangling pointers different from memory leaks?

1 Answers  


Explain can you assign a different address to an array tag?

0 Answers  


sum of two integers values only other then integer it should print invalid input.

1 Answers  


What is the code in while loop that returns the output of given code?

0 Answers  


c program to input values in a table(using 2D array) and print odd numbers from them

1 Answers  






How do I declare a pointer to an array?

6 Answers   IBM,


#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }

3 Answers   VB,


What is variables in c?

0 Answers  


Compare array data type to pointer data type

0 Answers  


Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?

1 Answers   Infosys,


Why array starts with index 0

2 Answers  


What is the output for the following program #include<stdio.h> main() { char a[5][5],flag; a[0][0]='A'; flag=((a==*a)&&(*a==a[0])); printf("%d\n",flag); }

5 Answers   ADITI, Wipro,


Categories