Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "point.h"
- void point_fill(int * pon)
- {
- int i =0;
- for(i=0;i<10;i++)
- {
- if(i!=9)
- {
- *pon=rand()%91+10;
- }
- else
- {
- *pon=EOF;
- }
- pon++;
- }
- }
- void point_output(int *pon)
- {
- while(*pon!=EOF)
- {
- printf("pointer %p\n inhalt = %i\n",pon,*pon);
- pon++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement