run time error while printing strings.

Why this small simple code not giving the o/p. http://ideone.com/JAQr4U
Also declaring the string like
char left[4]={‘0’,‘0’,‘0’,‘0’};
gives rte!!http://ideone.com/ReyEq9
y so??
Its a part of one of my codes.