C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 2 Garbage Value 1 0 3 2 Garbage Value 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 10 None of these. 11 9 10 None of these. 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.25 0.5 2 1 9 0.25 0.5 2 1 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello Hello World World WorldHello None of these Hello Hello World World WorldHello None of these 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. The program will not enter into the loop. The loop will run infinitely many times. Prints the value of 0 one time only. A run time error will be generated. There will be a compilation error reported. The program will not enter into the loop. The loop will run infinitely many times. Prints the value of 0 one time only. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? int float real char double int float real char double ANSWER DOWNLOAD EXAMIANS APP