Why the usage of pointers in C++ is not recommended ?


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

Post New Answer

More C++ General Interview Questions

Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";

7 Answers   CTS,


What is a virtual destructor?

2 Answers  


In a function declaration, what does extern mean?

0 Answers  


Write any small program that will compile in "C" but not in "C++"?

4 Answers  


What is c++ redistributable?

0 Answers  






write a program that a 5 digit number and calculates 2 power that number and prints it.

2 Answers   Vimukti Technologies,


What is near, far and huge pointers? How many bytes are occupied by them?

0 Answers  


what are the iterator and generic algorithms.

0 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 − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.

1 Answers  


Define copy constructor.

0 Answers  


What is std namespace in c++?

0 Answers  


Which one is better- macro or function?

0 Answers   Fidelity,


Categories