Rotation of elements in an array

why code is not give any output??
here is my code :
https://ide.codingblocks.com/s/224242 “”(T denotes no. of test case , N denotes no. of elements and an integer D denoting the number size of the rotation)

@army_100
You asked the doubt in the tab of some other question. anyways, here I fixed the code.
it had some minor mistakes .