Tip
| Descriptor
| Lungime
| Domeniu
| Exemple
|
Intreg scurt | short int | 1 | [-127; +127] | sort int a,b;
|
Intreg | int | 2 | [-32767;+32767] | int x,y;
|
Intreg lung | long int | 4 | [;] | long int a,b,c;
|
Virgula mobila | float | 4 | [;] | float x,y,s;
|
Virgula mobila dubla precizie | double | 8 | [;] | double x,r,h,k;
|
Virgula mobila format lung | long doouble | stanga->10 | [;] | long double c,x,u;
|
Caracter | char | 1 | [00h;0FFh] | char z,q,a,b;
|
Pointer | tip * | 4 | [0;65535] | float *pa,*pb
|
Poiner spre pointer | tip ** | 4 | [0;65535] | char **ppa,**ppc;
|
Masiv unidimensional | = tip [N] | N*lg(tip) | tip | int x[20];
|
Masiv bidimensional | tip [M][N] | M*N*lg(tip) | tip | float a[10][7];
|
Masiv multidimensional | tip [n1][n2]..[nk] | n1*n2*...*nk*lg(tip) | tip | char a[3][5][6][8][10];
|
Articol | struct | suma lunigimi campuri | tipuri | struct{ int a;float b; char c; double x;};
|