I am not getting ASCII code of white-space. Please fix and explain it too...
#include <stdio.h>
void main()
{
    char choice,ch;
    printf ("Press 'a' to find ASCII code of character: ");
    scanf ("%c",&choice);
   switch(choice)
   {
        case 'a':
            printf ("Enter the character: ");
            scanf (" %c",&ch);
            printf ("The ASCII code of character %c is %d",ch,ch);
        break;
        default:
            printf ("Please enter right key");
        break;
    }
}
