C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 0 None of these 1 6 10 0 None of these 1 6 10 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); }} 10 10 20 20 10 20 Run time error 10 10 20 20 10 20 Run time error 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);} 100 5 100 5 0 20 100 100 100 100 0 100 5 0 100 100 5 100 5 0 20 100 100 100 100 0 100 5 0 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? exam_veda _examians examians1 1examians exam_veda _examians examians1 1examians ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable must always be the letter i when using a for loop. The increment should always be ++k . There should be a semicolon at the end of the statement. The commas should be semicolons. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . There should be a semicolon at the end of the statement. The commas should be semicolons. The variable k can’t be initialized. ANSWER DOWNLOAD EXAMIANS APP