C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 54554 45545 45445 54544 54554 45545 45445 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 5 Compiler Error 7 0 6 5 Compiler Error 7 0 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values 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 7 It will not compile because not enough initializers are given 12 6 24 7 It will not compile because not enough initializers are given 12 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: None of these float ptr; float *ptr; *float ptr; None of these float ptr; float *ptr; *float ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED RED ERROR ANSWER DOWNLOAD EXAMIANS APP