although the program may compile and run it has a couple of errors
Code:
char ch="name";
ch is a char (a byte sized int)and you are attempting to initialise it with the address of a string (a pointer) so you would get a compiler message such as (from gcc)
Code:
warning: initialization makes integer from pointer without a cast
the printf statement
Code:
printf("%d%c",53815);
has two conversion specifications %d and %c but only one parameter following. The %d would print 53815 as an int and the %c would pick whatever is next on the stack and print it as a char.
Comment