C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 19 16 20 17 -1 19 16 20 17 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Address of the first element of the array. Address of the array. Number of element of the array. Values of the first elements of the array. Address of the first element of the array. Address of the array. Number of element of the array. Values of the first elements of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} Compiler Error 12PP345 None of These 12PP Compiler Error 12PP345 None of These 12PP ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 5 Error 9 6 None of these 5 Error 9 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 10 20 20 20 10 10 Run time error 10 20 20 20 10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..10 0 10..50 Error 10..10 0 10..50 Error ANSWER DOWNLOAD EXAMIANS APP