Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int arr[10];
- void f();
- ////////////////////////////////////////////////////
- int main() //
- {
- f();
- }
- ////////////////////////////////////////////////////
- void f() //
- {
- for(int i = 0; i < 10; i++)
- {
- arr[i] = i+1000;
- printf("arr[%d] = %d \n", i, arr[i]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement