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? 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 7 24 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 None of these WorldHello Hello World Hello World None of these WorldHello Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} asiha haasi absiha hai asiha haasi absiha hai ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } None of these 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 What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 ANSWER DOWNLOAD EXAMIANS APP