C++ Programming Question:
Download Questions PDF

What problems might the following macro bring to the application?

C++ Programming Interview Question
C++ Programming Interview Question

Answer:

#define sq(x) x*x

Download C++ Programming Interview Questions And Answers PDF

Previous QuestionNext Question
You are given a simple code for the class BankCustomer. Write the following functions ...Anything wrong with this code?
T *p = new T[10];
delete p;