C++ New And Delete Question:
Download Questions PDF

Following is the not a correct statement for preprocessor directive declaration?

a) #include<iostream.h>
b) #include<iostream.h> #define LEFT 1
c) #define LEFT 1
d) #define ABS(a) (a)<0 ? -(a) : (a)

Answer:

b) #include<iostream.h> #define LEFT 1

Download C++ New And Delete Interview Questions And Answers PDF

Previous QuestionNext Question
What is dynamic memory management for array?In C++ if return statements is written in a non-void function without any specified value, what will be return value of the function?

a) undefined
b) 1
c) 0
d) -1