C Programming "My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above. printf("My salary was increased by 15%%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%!"); printf("My salary was increased by 15%%!"); printf("My salary was increased by 15'%'!"); printf("My salary was increased by 15/%!"); printf("My salary was increased by 15%!"); ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 5 5 5 2 4 4 2 4 5 2 5 5 5 5 5 2 4 4 2 4 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 0 -1 33 1 Compilation Error 0 -1 33 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on R-values Arithmetic expressions Members of a structure Both of the above Local variables R-values Arithmetic expressions Members of a structure Both of the above Local variables ANSWER DOWNLOAD EXAMIANS APP