The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 3 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
A) Suppose you have a class called base which has been inherited by a class called derived.
   ( both classes have public, protected and private members )
   What can a client of derived access within the class base ?
   What can the class derived access within the class base ?
B) Suppose you have a class called more which has a private object of a class called simple. ( both classes have public, protected and private members )
   What can a client of more access within the class simple ?
   What can the class more access within the class simple ?
C )Suppose you have an int pointer which contains the address of a dynamic variable.
   What will you be able to A????1changeA????1 if you pass to a function the pointer as a value
   parameter ?
   How about if you pass the pointer as a refere
Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- -----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------sol-----------uti-----------on.-----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- ca-----------tch-----------