Professional Documents
Culture Documents
e.g.:-
1. int a=10;
2. int *pa=&a;
3. cout<<*pa;
University Institute of Engineering
4
Declaring Pointer
Data-type *name;
• * is a unary operator, also called as indirection operator.
• * is used to declare a pointer and also to dereference a
pointer.
• When you write int *,
• compiler assumes that any address that it holds points
to an integer type.
• m= &count;
• it means memory address of count variable is stored into
m.
this->member-identifier
i. https://www.computerhope.com/jargon/i/imp-
programming.htm
ii. http://people.cs.aau.dk/paradigms_themes-
paradigm-overview-section.html
iii. https://www.tutorialspoint.com/
iv. http://www.doc.ic.ac.uk