What is the difference between mysql_fetch_assoc and mysql_fetch_array and mysql_fetch_object

mysql_fetch_assoc() : 

It reads a record from resultset and returns as an associative array. The array keys are the names of the fields.

mysql_fetch_array() : 

It reads a record from resultset moves the resultset pointer ahead. The output is nothing but the combination of mysql_fetch_row and mysql_fetch_assoc().

mysql_fetch_object() : 

It reads a record from resultset and returns as an object.