I stuck a couple of getchars in it. Basically your first scanf takes a number but leaves the '\n' character from when you hit enter in the input buffer. The second scanf looks at the input buffer, sees the '\n' and takes it. The getchar basically just flushes it.
int main(int argc, char** argv)
printf("Enter a no:\n");
printf("Enter a character\n");
printf("The number you entered is %d",d);
printf("The character you entered is %c",c);