1.

The return value from operations returning a row count is ______________(a) $rc(b) $rv(c) $rows(d) $aryThis question was posed to me during an online interview.My doubt is from Perl DBI Overview in division MySQL Programs Using Perl DBI and PHP of MySQL

Answer» RIGHT choice is (c) $ROWS

Explanation: The Perl Non-handle variable ‘$ary’ is an array or list representing a row of values returned by a query. ‘$RCRETURNS CODE from operations that return true or false. ‘$rv’ returns value from operations that return an integer. ‘$rows’ returns value from operations that return a row count.


Discussion

No Comment Found

Related InterviewSolutions