What are default parameters? How are they evaluated in c++ function?


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

Post New Answer

More C++ General Interview Questions

Why c++ does not have finally?

0 Answers  


Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??

7 Answers  


What is double in c++?

0 Answers  


Define basic type of variable used for a different condition in C++?

0 Answers  


What is the difference between reference type and pointers.

4 Answers   HCL,






which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?

0 Answers  


Why was c++ created?

0 Answers  


Are vectors faster than arrays?

0 Answers  


Is arr and &arr are same expression for an array?

0 Answers  


Is nan a c++?

0 Answers  


What is the operator in c++?

0 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  


Categories