Why do we use classes in programming?
No Answer is Posted For this Question
Be the First to Post Answer
Is it possible to provide default values while overloading a binary operator?
write a c++ program that gives output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using looping statement
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; }
What are the advantages of using typedef in a program?
what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.
What is setfill c++?
which operator is used for performing an exponential operation a) > b) ^ c) none
Define basic type of variable used for a different condition in C++?
Can you declare an array without a size in c++?
What is the use of :: operator in c++?
What do you mean by ‘void’ return type?
Types of storage and scope of each type