Stride parameters of cudnnSetTensor4dDescriptorEx and cudnnGetTensor4dDescriptor

There are four paramters of strides:
cudnnStatus_t
cudnnSetTensor4dDescriptorEx( cudnnTensorDescriptor_t tensorDesc,
cudnnDataType_t dataType,
int n,
int c,
int h,
int w,
int nStride,
int cStride,
int hStride,
int wStride
);

nStride input Stride between two consecutive images
cStride input Stride between two consecutive feature maps.

hStride input Stride between two consecutive rows.
wStride input Stride between two consecutive columns.

Could you explained nStride and cStride, and give me a simple example to understand these parameters?