Вы находитесь на странице: 1из 5

C Pointers

C
Dynamic
Jagged Arrays Array
Late or Strings Array
Binding Dynamic
Pointers

a a a
a=a+1
a
a a
a=a-1
a=a+1 a

i=i+1 (i
i=i-1 (i
N+ (N=N+2
X-=100 (X=X-100

pointers
Int *npntr
Double *ypntr ,*xpntr

cpntr Char

y Ypntr

Pointers
C Pointers

COM DLL
Net
C Pointers

C C

Java

C Pointers
Reserved word or Keyword unsafe
Pointers Code
Members
Functions Properties
Classes Constructors
int *a
float *b
char *c

Return more than one value

Structures

Pointers
. 1.
. 2.
.
:
typeName * pointerName;

:
typeName * pointerName = &variableFromSameType;

variableFromSameType &
.
..

Pointer void
type

type
bool, sbyte, byte, short Value Types
ushort, int, uint, long, ulong, char, float, double, decimal,
enum
Pointer Types
Pointer Pointer to
User-Define Types
Structures
Value Types Classes
Reference Pointing to
Types
Arrays
Reference Types
Arrays
Structures
Reference Types

Type Name
C C Name Variable
char pC1, pC2 char
Pointer C C
pC2 char pC1 char
Pointer Indirection Operator
C Pointer
C C

T T
Pointer Types Object
Operator Operator
pMyByte
ToString
Reference Types Arrays
GC

fixed Pointing to Arrays


GC Object
GC fixed
Object
Object
fixed Pointer

C Pointers
Pointers C C
C

Email:-nabil299@gmail.com