Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void sostituisci(int * const a,int dim,int b,int c){
- for(int i=0;i<dim;i++){
- if(a[i]==b)
- a[i]=c;//*(a+i)=c;
- }
- //a = a+4;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement