C Programming The library function used to find the last occurrence of a character in a string is strstr() None of these laststr() strrchr() strnstr() strstr() None of these laststr() strrchr() strnstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 Cambridge University in 1972 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 2 4 2 3 3 3 2 2 3 4 2 4 2 3 3 3 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Conditional operator Division operator Unary-operator Assignment operator Comma operator Conditional operator Division operator Unary-operator Assignment operator Comma operator ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 0 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 0 0 1 3 0 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 ANSWER DOWNLOAD EXAMIANS APP