C Programming int a[5] = {1,2,3}What is the value of a[4]? 0 1 2 3 Garbage Value 0 1 2 3 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 2 0 0 0 1 3 1 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 0 0 1 3 1 0 0 0 2 1 0 0 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Morning None of these Good Morning M Good Morning None of these Good Morning M Good ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(x, 2) pow(2, x) power(x, 2) power(2, x) sqr(x) pow(x, 2) pow(2, x) power(x, 2) power(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? 6 24 It will not compile because not enough initializers are given 7 12 6 24 It will not compile because not enough initializers are given 7 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello World Hello None of these World WorldHello Hello World Hello None of these World WorldHello ANSWER DOWNLOAD EXAMIANS APP