+ 2
I want to use scanf function to get an input and then assign it's value to my array? Can You Please help me out?
We know that array can be changed with a statement. But I can't get the above problem's solution. Please help me out. Any Help Would Be Appreciated.
1 Antwort
+ 5
int arr[1];
scanf("%d", &arr[0]);