C Programming The library function used to find the last occurrence of a character in a string is None of these laststr() strrchr() strstr() strnstr() None of these laststr() strrchr() strstr() strnstr() 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 "after that program will stop" Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Run time error Enter your age: xyz "after that program will stop" Enter your age: xyz You have lived for 0 seconds Enter your age: xyz You have lived for 0.00000 seconds Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Unequal Error Equal None of these. Unequal Error Equal ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... stdin string Data file no such function in 'C'. stderr stdin string Data file no such function in 'C'. stderr ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 25 24 30 20 None of these 25 24 30 20 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} Error I love Examians None of These I hate Examians Error I love Examians None of These I hate Examians ANSWER DOWNLOAD EXAMIANS APP