C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 None of These Garbage Value 1 10 None of These Garbage Value 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[][4]){} None of these void fun(int p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int *p[][4]){} None of these void fun(int p[][4]){} void fun(int *p[3][4]){} void fun(int *p[4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 6 7 It will not compile because not enough initializers are given 12 24 6 7 It will not compile because not enough initializers are given 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? && ++ || + % && ++ || + % ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? printf() puts() scanf() None of these gets() printf() puts() scanf() None of these gets() 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? strnset() strchr() strstr() None of these strrchr() strnset() strchr() strstr() None of these strrchr() ANSWER DOWNLOAD EXAMIANS APP