TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sadaqat Jeelani
NA
20
15k
brief(1-2lines) description of the following program
Apr 18 2016 12:43 AM
#include<iostream>
#include<conio.h>
using namespace std;
class Example {
int a, b;
public: Example(){
a = 50;
b = 100;
cout << "\nIm Constructor";
}
Example(int x, int y){
a = x;
b = y;
cout << "\nIm Constructor";
}
void Display() {
cout << "\nValues :" << a << "\t" << b; }
};
int main(){
Example Object(10, 20);
Example Object2;
Object2.Display();
system("pause");
return 0;
}
Reply
Answers (
1
)
code block c++ exception
I want solution of this this task and i want code