Upload
parimalaseenivasan
View
213
Download
0
Embed Size (px)
DESCRIPTION
c++
Citation preview
Find the output of the following program class Sample{public: int *ptr; Sample(int i) { ptr = new int(i); } ~Sample() { delete ptr; } void PrintVal() { cout