Cosidering ' ' in '*((char*)q+1)' and '*((char*)q+2)') :: the output will be ),)
because the whole content written inside single qoute is treated as character constant and the last character is printed.
If taking single quotes as mistake then the output will be 0,c
because q is pointing the first index of p i.e,pointing to '1' and thus q+1 will point to'0' and q+2 will point to 'a'+2 which is equal to 'c'
thus by typecasting,output will be 0,c