Which of the following can be overloaded?
A.Object
B.Functions
C.Operators
D.Both B and C
Answers
Answered by
7
ʜᴇʟʟᴏ ᴅᴇᴀʀ.....
ᴄᴏʀʀᴇᴄᴛ ᴀɴꜱᴡᴇʀ.....✔✔✔✔✔✔
ᴅ. ʙᴏᴛʜ ʙ ᴀɴᴅ ᴄ...
❤❤❤❤❤❤❤❤❤
ᴄᴏʀʀᴇᴄᴛ ᴀɴꜱᴡᴇʀ.....✔✔✔✔✔✔
ᴅ. ʙᴏᴛʜ ʙ ᴀɴᴅ ᴄ...
❤❤❤❤❤❤❤❤❤
Answered by
3
The correct answer is option D) both functions and operators can be overloaded.
Explanation:
A programmer could use operators with specific user-defined forms. Every overload operators are functions. These functions have special names such as keyword “operator” that is tracked by means of the symbol for the operator. As a result, a programmer would permit a user to state more than one description for a function name or an operator in a similar scope that is termed as function and operator over-loadings.
Similar questions