C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 53 65 Syntax error 053 65 65 65 065 65 53 65 Syntax error 053 65 65 65 065 65 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 );} Prints the value of 0 one time only. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value None of These Error 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(2, x) pow(2, x) pow(x, 2) sqr(x) power(x, 2) power(2, x) pow(2, x) pow(x, 2) sqr(x) power(x, 2) 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 is the correct way of declaring a float pointer: *float ptr; float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; None of these ANSWER DOWNLOAD EXAMIANS APP