C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} Error A c 65 Error A c 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) sqr(x) pow(x, 2) power(2, x) pow(2, x) power(x, 2) sqr(x) pow(x, 2) power(2, x) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 7 24 12 6 It will not compile because not enough initializers are given 7 24 12 6 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} None of these void fun(int *p[3][4]){} void fun(int *p[][4]){} void fun(int *p[4]){} void fun(int p[][4]){} None of these void fun(int *p[3][4]){} void fun(int *p[][4]){} void fun(int *p[4]){} void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? / * + None of these % / * + None of these % ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 12 10 11 13 22 11 11 11 22 12 12 13 22 13 14 14 22 14 12 13 12 10 11 13 22 11 11 11 22 12 12 13 22 13 14 14 22 14 12 13 ANSWER DOWNLOAD EXAMIANS APP