Ma'am I have question .....aapne data member mai a, b variable liya. hai or member function mai x, y. kya hum same variable dono mai nhi rakh sakte....... Plsss ma'am solve my doubt....🙏🙏
#include using namespace std; class Add { private: int a,b,c,d; public: int addition(int x,int y); }; inline int Add::addition(int x,int y) { return (x+y); } int main() { Add a1; Add b1; int c=a1.addition(5,3); cout
Aap itna superb padhatk hai mam meri problem samjhiye na data structure using c++ ke program up load kariye na mam. Kitna request kroo mam bahoot problem ho rahi hai
write an oop's in c++ to generate the following series of number using construtor destructor and inline member function series = 0,1,1,2,3,5,8,13,21.... Answer