cout << (int) pole - vypises adresu prveho prvku pola v desiatkovej sustave (adresa (char *) sa pretypuje na cele cislo (int))
coit << (int *) pole - vypises adresu v sestnastkovej sustave (adresa (char *) sa pretypuje na (int *))
_________________ Empty your memory, with a free()… like a pointer! If you cast a pointer to an integer, it becomes the integer, if you cast a pointer to a struct, it becomes the struct… The pointer can crash…, and can overflow… Be a pointer my friend… |