C Programming The library function used to find the last occurrence of a character in a string is strnstr() None of these laststr() strrchr() strstr() strnstr() None of these laststr() strrchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? int Depends upon the type of the variable to which it is pointing. No data type unsigned int float int Depends upon the type of the variable to which it is pointing. No data type unsigned int float 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 variable must always be the letter i when using a for loop. The commas should be semicolons. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } Runtime error 1 2 3 4 4 5 6 7 4 Syntax error Runtime error 1 2 3 4 4 5 6 7 4 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns true None of these 0 1 -1 true None of these 0 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 1 14 10 0 None of these 1 14 10 0 None of these ANSWER DOWNLOAD EXAMIANS APP