Explain Memory Allocation in C/C++ ?


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

Post New Answer

More C++ General Interview Questions

Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator

2 Answers   HCL, Lehman Brothers, Zoomerang,


What is fflush c++?

0 Answers  


print first nodd numbers in descending order

7 Answers  


Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours &#8722; 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.

1 Answers  


Describe public access specifiers?

0 Answers  






What are references in c++? What is a local reference?

0 Answers  


What are member functions used in c++?

0 Answers  


What is constant in c++ with example?

0 Answers  


Have you used MSVC? What do you think of it?

2 Answers   Google,


When does a name clash occur in c++?

0 Answers  


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

0 Answers  


How Virtual functions call up is maintained?

2 Answers  


Categories