C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 0 -1 Compilation Error 1 33 0 -1 Compilation Error 1 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. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The commas should be semicolons. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 1 2 0.25 0.5 9 1 2 0.25 0.5 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 None of These 0 Garbage Value 2 None of These 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with An alphabet Both of the above A number A special symbol other than underscore An alphabet Both of the above A number A special symbol other than underscore ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65486 65486, 65488 65486, 65487 65486, 65490 None of these 65486, 65486 65486, 65488 65486, 65487 65486, 65490 None of these ANSWER DOWNLOAD EXAMIANS APP