Select the correct option to test your answer:
More Computer Questions
What is the output of the following code? #include<stdio.h> int search_num(int *arr, int num, int len) { int i; for(i = 0; i < len; i++) if(arr[i] == num) return i; return -1; } int main() { int arr[5] ={1,3,3,3,5},num=3,len = 5; int indx = search_num(arr,num,len); printf("Index of %d is %d",num,indx); return 0; }
How many among the following use NULL to indicate failure? mysql_init(), mysql_real_connect()
Which two predefined variables are used to retrieve information from forms?
How many stacks are required for applying evaluation of infix expression algorithm?
What is not true of a Java bean?