Explain data encapsulation?
No Answer is Posted For this Question
Be the First to Post Answer
if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.
this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }
I need to find a specific string between two strings how do I do it?
What are the various storage classes in C++?
What is using namespace std in c++?
What are the advantages of c++? Explain
What are files in c++?
What does it mean to declare a member function as static?
Why do we need pointers?
Why do C++ compilers need name mangling?
What is copy constructor? Can we make copy constructor private in c++?
What is binary search in c++?