Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using std::string;
- #include <vector>
- using std::vector;
- using std::cout;
- using std::cin;
- using std::endl;
- int main(){
- int a[10], i;
- int *p=a;
- for(i=0; i<10; i++)
- a[i]=i;
- for(i=0; i<10; i++){
- *p=0;
- p=p+1;
- }
- cout<<"Ecco il vettore";
- for(i=0; i<0; i++)
- cout<<a[i];
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement