C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) power(2, x) pow(x, 2) pow(2, x) sqr(x) power(x, 2) power(2, x) pow(x, 2) pow(2, x) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 4 5 None of these 7 6 4 5 None of these 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 Garbage Value 3 0 2 1 Garbage Value 3 0 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program None of these Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to structure of similar data type. The pointers point to data of similar type. None of these. The pointers point to elements of the same array. The pointers point to structure of similar data type. The pointers point to data of similar type. None of these. The pointers point to elements of the same array. ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 216 215 215 – 1 216 – 1 None of these 216 215 215 – 1 216 – 1 ANSWER DOWNLOAD EXAMIANS APP