C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 0 1 2 3 Garbage Value 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. Compilation Error will print garbage value will print Hello World None of these. Compilation Error will print garbage value will print Hello World ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. None of these Needs input data. Must contain at least one function. Need not contain any function. None of these Needs input data. Must contain at least one function. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 1 2 3 10 None of these 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 10 None of these 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Code will not compile 0 Garbage Value Garbage vlaue Garbage Value 0 0 Garbage value 0 Code will not compile 0 Garbage Value Garbage vlaue Garbage Value 0 0 Garbage value 0 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. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP