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; 6 10 11 9 5 6 10 11 9 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(x, 2) pow(x, 2) power(2, x) sqr(x) pow(2, x) power(x, 2) pow(x, 2) power(2, x) sqr(x) 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. II and IV III and IV II and III I and II I and III II and IV III and IV II and III I and II I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 1 2 3 4 4 5 6 7 Runtime error 4 Syntax error 1 2 3 4 4 5 6 7 Runtime error 4 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 5 Garbage Value Compiler Error 6 5 Garbage Value Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ short float long int char short float long int char ANSWER DOWNLOAD EXAMIANS APP