C Programming The library function used to find the last occurrence of a character in a string is None of these strstr() laststr() strnstr() strrchr() None of these strstr() laststr() strnstr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 13 12 11 Compilation error 14 13 12 11 Compilation error 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is None of these. call by value call by reference call by value result None of these. call by value call by reference call by value result ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter "xyz" ?#includevoid main(){float age, AgeInSeconds;printf("Enter your age:");scanf("%f", &age);AgeInSeconds = 365 * 24 * 60 * 60 * age;printf("You have lived for %f seconds", AgeInSeconds);} Enter your age: xyz You have lived for 0 seconds Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds Run time error Enter your age: xyz You have lived for 0 seconds Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0.00000 seconds Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error Linker Error 20 2 Compiler Error Linker Error 20 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C Syntax error C NOITANIMAXE No output at all. NOITANIMAXE C Syntax error C NOITANIMAXE No output at all. ANSWER DOWNLOAD EXAMIANS APP