prog.cpp: In function 'int main()':
prog.cpp:10:15: error: invalid conversion from 'int' to 'int*' [-fpermissive]
myswap(x,y);
^
prog.cpp:4:6: note: initializing argument 1 of 'void myswap(int*, int*)'
void myswap(int*a, int* b) {
^
prog.cpp:10:15: error: invalid conversion from 'int' to 'int*' [-fpermissive]
myswap(x,y);
^
prog.cpp:4:6: note: initializing argument 2 of 'void myswap(int*, int*)'
void myswap(int*a, int* b) {
^