Do I understand that by using the following code

a = getchar(); 
 b = getchar();

, after pressing "1" and "Enter" keys ( Enter - to continue programs work), we can derive the following variables -

a = '1';
b= '\n';

thanks in advance))