About Me :
Member Since :
Articles Posted :
Answers Given :
Questions Asked :
In C when a variable is passed to a function by value, its value remains unchanged in the calling program.
When a variable is passed by value , a new copy of that variable gets created in the called function and hence the value of the variable in calling program remains unchanged.
In C++ overloaded functions can have same return types.
Yes overloaded functions can have same return types.
Overloaded Functions are always differentiated on the basis of :
1. No of Arguments
2. Type of Arguments
3. Order of Arguments.
A man has Rs. 1500, a part of which he lends at 7% and the rest at 5%. The annual interest from both the investments in Rs. 91. How much has he invested at 5%?
He has to invest Rs. 700
Both (*ptr++ ? str) and (*ptr? str++) are equivalent.
Explore Gyantonic :
Terms & Conditions
This site is best viewed in IE 7.0 & above with resolution 1024x768