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

Explain the difference between the local variable and global variable in c?

0 Answers  


How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?

2 Answers  


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

0 Answers   Google,


What is the deal on sprintf_s return value?

0 Answers  


Explain how do you sort filenames in a directory?

0 Answers  


2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above

4 Answers   Siemens,


What are the two types of structure?

0 Answers  


Can you mix old-style and new-style function syntax?

0 Answers  


do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.

1 Answers  


What is the use of gets and puts?

0 Answers  


What would be an example of a structure analogous to structure c?

0 Answers  


Difference between linking and loading?

0 Answers  


Categories