C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 1 Garbage Value 2 0 3 1 Garbage Value 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() laststr() None of these strnstr() strstr() strrchr() laststr() None of these strnstr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These Compiler Error sizeof(i)=1 sizeof(i)=2 None of These Compiler Error sizeof(i)=1 sizeof(i)=2 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]));} 6 5 None of these 4 7 6 5 None of these 4 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these int funct(); int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. All of these Helps to avoid repeating a set of statements many times. Makes the debugging task easier. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP