C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 2 Error 1 -2 2 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 14 0 10 None of these 1 14 0 10 None of these 1 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, 4 2, 3 None of these 1, 4 1 2, 4 2, 3 None of these 1, 4 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} None of these 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 None of these 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} void fun(int p[][4]){} None of these void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int *p[][4]){} void fun(int p[][4]){} None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 5 0 20 100 100 100 100 0 100 100 5 100 5 0 100 5 0 20 100 100 100 100 0 100 100 5 100 5 0 100 ANSWER DOWNLOAD EXAMIANS APP