C Programming int a[5] = {1,2,3}What is the value of a[4]? 1 Garbage Value 3 0 2 1 Garbage Value 3 0 2 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? 7 It will not compile because not enough initializers are given 6 24 12 7 It will not compile because not enough initializers are given 6 24 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? resume None of these skip break continue resume None of these skip break continue ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 Syntax error Runtime error 1 2 3 4 4 5 6 7 4 Syntax error Runtime error 1 2 3 4 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? efg bcdefg defg cdefg fg efg bcdefg defg cdefg fg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 Compiler Error None of These 10 50 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP