C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} None of these 6 4 7 5 None of these 6 4 7 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 a[1] = 3 Compilation error a[1] = 2 a[0] = 3 a[0] = 2 a[1] = 3 Compilation error a[1] = 2 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 15 30 1 10 -5 15 30 1 10 -5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is syntactically and semantically correct is legal but meaningless None of these. is illegal is syntactically and semantically correct is legal but meaningless None of these. is illegal ANSWER DOWNLOAD EXAMIANS APP