1.

What does mysql_fetch_row() return?(a) integer(b) float(c) structure(d) pointerThe question was posed to me during an interview for a job.The doubt is from Status Variables topic in division System, Status and User Variables of MySQL

Answer» RIGHT answer is (d) pointer

Explanation: ‘mysql_fetch_row()’ returns a MYSQL_ROW value, a pointer to an ARRAY of VALUES. If the return value is assigned to a variable named row each value WITHIN the row is accessed as row[i].


Discussion

No Comment Found

Related InterviewSolutions