What is abstraction in c++ with example?
No Answer is Posted For this Question
Be the First to Post Answer
Can we specify variable field width in a scanf() format string? If possible how?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is the difference between public, private, and protected access?
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; }
How do you establish an is-a relationship?
What is an Iterator class?
What is the difference between a constructor and a destructor in C++?
What are shallow and deep copies?
Explain the differences between list x; & list x();.
program in c++ to input digits and print in words
How do you print a string on the printer?
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?