C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 11 11, 10 10, 10 10, 11 11, 11 11, 10 10, 10 10, 11 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 What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} 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. The program will not enter into the loop. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 1 no error no output complier error 0 1 no error no output complier error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 Error -2 1 2 Error -2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] None of these arr[6] arr{7} arr{6} arr[7] None of these arr[6] arr{7} arr{6} ANSWER DOWNLOAD EXAMIANS APP