C Programming Which of the following is the correct way of declaring a float pointer: float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; None of these *float ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 0 5 6 None of these Garbage Value 0 5 6 None of these Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to infinite Complier error -10 to 0 -10 to -1 -10 to infinite Complier error -10 to 0 -10 to -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} Error 100 0 1 Error 100 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h None of these During Execution During Preprocessing During linking During Editing None of these During Execution During Preprocessing During linking During Editing 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 );} There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. Prints the value of 0 one time only. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP