InterviewSolution
Saved Bookmarks
| 1. |
mysql_fetch_row() returns _______________(a) integer(b) float(c) structure(d) pointerI have been asked this question in a job interview.This interesting question is from Processing SQL Statements topic in section MySQL Programs Using C of MySQL |
|
Answer» CORRECT choice is (d) pointer The explanation is: ‘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]. |
|