Question
List out the argument matching rules for overloaded function selection within the same type.

Answers

1. No conversions are necessary. Functions returning no argument conversions are the best candidates.
2. Argument promotions are necessary. One or more arguments are promoted along the path
char -->int--> float-->double-->long-->double
3. Arguments’ conversions are necessary. One or more arguments are converted according to standard or user defined conversions.   Your Comment






Search
Can you Answer!!
  • Q What is a good device to use for obtaining viscosity data for a non-newtonian fluid?
  • Q State Bank of India launches social media banking platform
  • Q Write a java program to check two Strings are anagrams or not by deleting characters method?
  • Q Big Data Engineer Can you explain what REST is?
  • Q What is inventory?
  • Q Name the new chairman of the Central Board of Direct Taxes (CBDT) :
  • Q What was the most recent film you saw?
  • Q Which of the following is true about Dial-up internet access?
  • Q Which of the following satisfies a two-factor user authentication? A. Iris scanning plus finger print scanning B. Terminal ID plus global positioning system (GPS) C. A smart card requiring the user's PIN D. User ID along with password
  • Q Explain the types of Caching using Cache object of ASP.NET.
  • Q explain stratified cuboidal epithelium