How we can differentiate between a pre and post increment operators during overloading?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

How does a C++ structure differ from a C++ class?

0 Answers   NIIT,


What is a string example?

0 Answers  


What are the advantages of c++? Explain

0 Answers  


What is the Standard Template Library?

1 Answers  


what is the basic concept of c++(object oriented programing)

4 Answers   Wipro,






What are activex and ole?

0 Answers  


List out some of the object-oriented methodologies?

1 Answers  


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; }

1 Answers  


Can create new c++ operators?

0 Answers  


an operation between an integer and real always yeilds a) integer result b) real result c) float result

0 Answers  


What is namespace & why it is used in c++?

0 Answers  


What are the two types of comments, and how do they differ?

0 Answers  


Categories