Question 12.12

Why doesn't the call scanf("%d", i) work?


The arguments you pass to scanf must always be pointers. To fix the fragment above, change it to scanf("%d", &i) .


Read sequentially: prev next up top


This page by Steve Summit // Copyright 1995 // mail feedback