0% found this document useful (0 votes)
20 views1 page

Notes

Uploaded by

ebram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

Notes

Uploaded by

ebram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Notes

1.the difference between declaration , definition , implementation?


->declaration : is the prototype of the function , allocating the memory for a
variable
->definition = implementation : the body of the function

2. overloading : can’t be executed by changing the return type only but


executed by changing the number of arguments or types of them

3. using variable without initializing is Run time error not syntax error
But using it without declaration is syntax error

4.to call function in another we have to declare the called function above
the calling one
And this error called stack overflow is run time error not syntax.
.in class the order of function isn’t important and can use it ay where

5. important : to change the reference that pointer carries or point to it in


function we have to pass it by reference or another pointer like ordinary
variables

6.important : if we have pointer p and point to memory in heap then


“P=NULL;” doesn’t deallocate the memory

7.the only non const functions that can be called by const object is
constructor and destructor

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy