C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
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 value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 20 20 Run time error 10 20 10 10 20 20 Run time error 10 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() gets() None of these puts() printf() scanf() gets() None of these puts() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage vlaue Garbage Value Code will not compile Garbage value 0 0 Garbage Value 0 0 Garbage vlaue Garbage Value Code will not compile Garbage value 0 0 Garbage Value 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 10 1 None of these 0 6 10 1 None of these 0 6 ANSWER DOWNLOAD EXAMIANS APP