C style pointer casting
strncpy() '/0' terminated
sscanf() to prevent overflow