C Programming The type of the controlling expression of a switch statement cannot be of the type ........ short char long int float short char long int float ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as Data processing language General purpose language System programming language None of these Data processing language General purpose language System programming language None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value 0 0 Code will not compile Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value 0 0 Code will not compile ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello garbage value Error hello 5 None of These hello garbage value Error hello 5 None of These 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? 6 It will not compile because not enough initializers are given 12 24 7 6 It will not compile because not enough initializers are given 12 24 7 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 loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP