C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 11 10 5 9 6 11 10 5 9 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} None of these 0 1 2 3 0 1 2 2 1 1 2 3 1 1 2 2 None of these 0 1 2 3 0 1 2 2 1 1 2 3 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these gets() scanf() puts() printf() None of these gets() scanf() puts() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 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 -1 33 0 Compilation Error 1 -1 33 0 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and II III and IV II and III I and III II and IV I and II III and IV II and III I and III II and IV ANSWER DOWNLOAD EXAMIANS APP