daily pastebin goal
87%
SHARE
TWEET

Untitled

a guest Jan 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class student
  5. {
  6.   private:
  7.   int rollno;
  8.   char name[25];
  9.   int marks[3];
  10.  
  11.   public:
  12.   void setdata(int r,char*n, int m[]);
  13.   void display();
  14.   int per();
  15.  
  16.  
  17. }
  18. inline void student::setdata(int r, char *n, int n[] )
  19. {
  20.   rollno=r;
  21.   strcpy(name,n);
  22.  
  23. }
  24.  
  25. int main() {
  26.  
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top