0
When we take input using for loop in array it scanf function uses '&' but without using for loop ,we use scanf '&' not require ?
2 Réponses
+ 2
Yes you can do that but then you wouldn't be able to iterate over every index to provide values.
int arr[5];
scanf("%d",arr);
The above line still works.