Tür Dönüşümü

1.4.2 Typecasting Typecasting allows a variable to act like a variable of another type. The method of typecasting is done by prefixing the variable type enclosed by parenthesis before the variable name. The actual variable is not modified. Example: float index=3; int loop=(int)index; This causes index to be typecasted to act like an int. Faydalı Yetersiz

Daha Fazla

Göstericiler ve Adres Operatörü

1.4.1 Pointers and the Address Operator Pointers are variables that contain the memory address for another variable. A pointer is defined like a normal variable, but with an asterisk before the variable name. The type-specifier determines what kind of variable the pointer points to but does not affect the actual pointer. The address operator causes […]

Daha Fazla