Comparing two arrays
Try not to use using namespace std.
You don't need an explicit return 0 at the end of main().  As reaching the end of main() already implies successful termination, the compiler will do the return for you.
In C++, use std::size_t over size_t, the former being part of the std namespace.
Consider having your function print true or false instead of 1 or 0.  You could do this by putting std::boolalpha into the output stream before the function call.

cout &lt;&lt; std::boolalpha &lt;&lt; arrayComparer(ptr1,asize,ptr2,bsize) &lt;&lt; endl;

There is no need for this:


std::size_t intSize = sizeof(int);



You can just use sizeof(int) for both size calculations, so that you can only have size variables that correspond to array sizes.  Extra possible overhead is not a problem because sizeof() is actually an operator, not a function.
If your compiler supports C++11, you can use an std::array instead of C-style arrays.  If not, use an std::vector.  They both know their own sizes, and you'll no longer need your own pointers.

Raw pointer use in C++ should generally be avoided whenever possible, and passing raw pointers can introduce ownership issues.  Passing C-style arrays to functions is also bad because they will decay to pointers.  If you must use them anyway, at least for this exercise, then perhaps you can declare ptr1 and ptr2 within arrayComparer() instead of passing them from main().