C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 -10 to 0 Complier error -10 to infinite -10 to -1 -10 to 0 Complier error -10 to infinite 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() strstr() None of these strrchr() strchr() strnset() strstr() None of these strrchr() strchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Compiler Error XAM is printed exam is printed Nothing is printed Compiler Error XAM is printed exam is printed Nothing is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32768 to 32767 -32668 to 32667 -32767 to 32768 -3.4e38 to 3.4e38 -32768 to 32767 -32668 to 32667 -32767 to 32768 -3.4e38 to 3.4e38 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ow ck te et ow ck te et ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. None of these The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. None of these The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. ANSWER DOWNLOAD EXAMIANS APP