testing pointer sprintf