Frage im Vorstellungsgespräch bei Amazon

What is wrong with this code: int *ptr; *ptr = 7;

Antwort im Vorstellungsgespräch

Anonym

21. Okt. 2011

The pointer is not initialised and the program will crash.

2