C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 0 6 Garbage Value None of these 5 0 6 Garbage Value None of these 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? 7 24 6 12 It will not compile because not enough initializers are given 7 24 6 12 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 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? strstr() strchr() strrchr() strnset() None of these strstr() strchr() strrchr() strnset() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values 1 1 1 Error ANSWER DOWNLOAD EXAMIANS APP