C Programming Array passed as an argument to a function is interpreted as Number of element of the array. Values of the first elements of the array. Address of the array. Address of the first element of the array. Number of element of the array. Values of the first elements of the array. Address of the array. Address of the first element of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED ERROR RED RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED ERROR RED RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[0] = 3 a[1] = 3 a[0] = 2 a[1] = 2 Compilation error a[0] = 3 a[1] = 3 a[0] = 2 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strrchr() None of these strnset() strchr() strstr() strrchr() None of these strnset() strchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) power(x, 2) sqr(x) pow(2, x) power(2, x) pow(x, 2) power(x, 2) sqr(x) pow(2, x) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr[7] arr{6} arr{7} arr[6] None of these arr[7] arr{6} arr{7} arr[6] ANSWER DOWNLOAD EXAMIANS APP