After first successful iteration, the second print statement is automatically getting printed. It is taking a whitespace its input. Why does this happen?
    #include<stdio.h>
    int main() {
        char c;
        while (1)
        {
            printf("\nEnter any character to get its ASCII value - ");
            scanf("%c",&c);
            printf("Ascii value of %c : %d",c,c);
        }
        
    }
Sample output:

 
     
    