Variable entered is 5 runtime error private member access by object none of the mentioned 38. Which special character is used to mark the end of class? A. ; B. : C. # D. $ 39. What is the output of this program? #include <iostream.h> class number { inti; public: intgeti(); voidputi(int j); }; int number::geti() { returni; } void number::puti(int j) { i= j; } void main() { number s; s.puti(10); cout<<s.geti(); } 10 11 20 22 40. Which is true for this keyword this.member
Variable entered is 5 runtime error private member access by object none of the mentioned 38. Which special character is used to mark the end of class? A. ; B. : C. # D. $ 39. What is the output of this program? #include <iostream.h> class number { inti; public: intgeti(); voidputi(int j); }; int number::geti() { returni; } void number::puti(int j) { i= j; } void main() { number s; s.puti(10); cout<<s.geti(); } 10 11 20 22 40. Which is true for this keyword this.member
1287697811computer_science_-qp_objective.docx