Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  stud
Language: C/C++
Code:
#include <stdio.h>
class student{
    public: 
    int rn;
    char division;
    int marks;
};
int main(){
    student obj1=new student();
    student obj2=new student();
    obj1.rn=1;
    obj2.rn=2;
    cout<<obj1.rn;
    cout<<obj2.rn;
}
          
          
Comments: