/* File: scan5.c Another problem with scanf. */ #include main() { int c = 0, r ; r = 0 ; while(r < 1) { printf("Enter an integer: ") ; r = scanf("%d", &c) ; } printf ("r = %d, c = %d\n", r, c) ; }