Why the usage of pointers in C++ is not recommended ?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";
What is a virtual destructor?
In a function declaration, what does extern mean?
Write any small program that will compile in "C" but not in "C++"?
What is c++ redistributable?
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?
what are the iterator and generic algorithms.
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.
Define copy constructor.
What is std namespace in c++?
Which one is better- macro or function?