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) 15 None of these 30 50 10 15 None of these 30 50 10 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)));} World WorldHello Hello None of these Hello World World WorldHello Hello None of these Hello World 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 = 3, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 3, c = 6 a = 4, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 1 2 3 10 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 None of these 4 5 6 7 8 9 10 1 2 3 10 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 10, 10 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello 5 None of These hello garbage value Error hello 5 None of These hello garbage value Error ANSWER DOWNLOAD EXAMIANS APP