Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- void print_value(){
- static value=0;
- printf("value: %d\n",value);
- value++;
- }
- int main(){
- int i=0:
- for(i=0;i<5; i++){
- print_value();
- return (EXIT_SUCCESS);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement