C Programming Any C program Needs input data. Must contain at least one function. None of these Need not contain any function. Needs input data. Must contain at least one function. None of these Need not contain any function. 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? 24 12 6 7 It will not compile because not enough initializers are given 24 12 6 7 It will not compile because not enough initializers are given ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 i = -1, +i = -1 i = -1, +i = 1 None of These i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error GOOD BAD GOOD None of These Compiler Error GOOD BAD GOOD None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The program will not enter into the loop. There will be a compilation error reported. Prints the value of 0 one time only. The loop will run infinitely many times. A run time error will be generated. The program will not enter into the loop. There will be a compilation error reported. Prints the value of 0 one time only. The loop will run infinitely many times. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 5 6 7 None of These 5 6 7 ANSWER DOWNLOAD EXAMIANS APP