Int* return type and int& return type

What is the difference between int* return type and int& return type of a function?In some codes it was done int* and in some int& by prateek sir