Created
April 16, 2020 12:41
-
-
Save rajan9519/d1384d3a3b196b30dac084b329a3569d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class student | |
| { | |
| private: | |
| string name; | |
| int rollNumeber; | |
| public: | |
| student(string sName,int roll); // Constructorn with two arguments | |
| }; | |
| student::student(string sName,int roll) | |
| { | |
| // initialize member variables | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment