Interview answers verified by specialists.

Find interview questions and answers on this website:

See right interview answers on 30 common job interview questions

Write a C function that searches for value key in a a 2D array of size 6 by 5. The function should return true if found false otherwise?

bool SearchArray (int a[][3], int ROWS, int key)
 bool found=false;
 for ( int r=0; r<ROWS; r++)
 for ( int c=0; c<3;c++)
 if (a[r][c]==key)
 printf(" found at location [%d,%d] \n",r,c);
 return true;
 return found;

Do you know that?

29% freelancers are 3-5 years as a freeleancer Next


Getting payments for Freelancers
1. Read how to register and get earned money

2. Open account within 5 minPayoneer sing up to get free $25