C Programming The library function used to find the last occurrence of a character in a string is laststr() strnstr() None of these strrchr() strstr() laststr() strnstr() None of these strrchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 11 6 9 10 5 11 6 9 10 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to 0 Complier error -10 to infinite -10 to -1 -10 to 0 Complier error -10 to infinite -10 to -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 10 15 30 1 -5 10 15 30 1 -5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 Compilation Error 33 0 1 -1 Compilation Error 33 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Comma operator Unary-operator Division operator Assignment operator Conditional operator Comma operator Unary-operator Division operator Assignment operator Conditional operator ANSWER DOWNLOAD EXAMIANS APP