C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 Error 1 2 -2 Error 1 2 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. The loop will run infinitely many times. A run time error will be generated. There will be a compilation error reported. Prints the value of 0 one time only. The program will not enter into the loop. The loop will run infinitely many times. A run time error will be generated. There will be a compilation error reported. Prints the value of 0 one time only. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 3 0 1 2 2 None of these 1 1 2 2 0 1 2 3 1 1 2 3 0 1 2 2 None of these 1 1 2 2 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? examians1 exam_veda 1examians _examians examians1 exam_veda 1examians _examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 2, 3 1 1, 4 None of these 2, 4 2, 3 1 1, 4 None of these 2, 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 64 16 4 None of These 64 16 4 None of These ANSWER DOWNLOAD EXAMIANS APP