a here are a few of the many instance of operator


A: Here are a few of the many instance of operator overloading:

myString + yourString may concatenate two std::string objects myDate++ may increment a Date object

a * b may multiply two Number objects

a[i] may access an element of an Array object

x = *p may dereference a "smart pointer" that "points" to a disk record .it could seek out to the location on disk where p "points" and return the proper record into x

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: a here are a few of the many instance of operator
Reference No:- TGS0217713

Expected delivery within 24 Hours