C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(2, x) power(x, 2) pow(x, 2) sqr(x) pow(2, x) power(2, x) power(x, 2) pow(x, 2) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 4..4 2..4 2..2 4..2 4..4 2..4 2..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 0 10 1 6 None of these 0 10 1 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 a = 4, c = 6 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 a = 4, c = 8 a = 4, c = 6 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Merging two strings. Extracting a substring out of a string. Combining two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Merging two strings. Extracting a substring out of a string. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error h hi followed by garbage value Garbage Value hi Error h hi followed by garbage value Garbage Value hi ANSWER DOWNLOAD EXAMIANS APP