C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 Garbage Value 1 2 0 3 Garbage Value 1 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World will print garbage value Compilation Error None of these. will print Hello World will print garbage value Compilation Error 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 Runtime error 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. None of these Sequential and Random Random Sequential None of these Sequential and Random Random Sequential ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65486 65486, 65490 65486, 65488 None of these 65486, 65487 65486, 65486 65486, 65490 65486, 65488 None of these 65486, 65487 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? 22 13 14 14 22 12 12 13 12 10 11 13 22 11 11 11 22 14 12 13 22 13 14 14 22 12 12 13 12 10 11 13 22 11 11 11 22 14 12 13 ANSWER DOWNLOAD EXAMIANS APP