C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A 65 c Error A 65 c Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 None of these. 11 9 10 None of these. 11 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 10 15 None of these 50 30 10 15 None of these 50 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) pow(2, x) power(2, x) power(x, 2) sqr(x) pow(x, 2) pow(2, x) power(2, x) power(x, 2) sqr(x) 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 );} 2 0.25 0.5 1 9 2 0.25 0.5 1 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values 1 1 1 Error ANSWER DOWNLOAD EXAMIANS APP