C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 No output Runtime error Syntax error 8 6 No output Runtime error Syntax error 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 215 – 1 None of these 216 – 1 215 216 215 – 1 None of these 216 – 1 215 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() strnstr() None of these strrchr() laststr() strstr() strnstr() None of these strrchr() laststr() 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]);} 0 None of these 5 6 Garbage Value 0 None of these 5 6 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as General purpose language Data processing language System programming language None of these General purpose language Data processing language System programming language None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=3 j=2 i=4 j=2 the behavior is undefined i=5 j=2 i=3 j=2 i=4 j=2 the behavior is undefined i=5 j=2 ANSWER DOWNLOAD EXAMIANS APP