Multi dimensional array addition with pointers