C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These Infinite Loop 5 4 3 2 1 0 0 0 0 None of These Infinite Loop 5 4 3 2 1 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation All of these Takes care of macros Takes care of conditional compilation Takes care of include files Acts before compilation All of these Takes care of macros Takes care of conditional compilation Takes care of include files 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 0 -10 to infinite -10 to -1 Complier error -10 to 0 -10 to infinite -10 to -1 Complier error 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 Garbage value 0 0 Garbage Value 0 0 Garbage vlaue Garbage Value Code will not compile Garbage value 0 0 Garbage Value 0 0 Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 It will not compile because not enough initializers are given 7 12 6 24 It will not compile because not enough initializers are given 7 12 6 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. will print Hello World will print garbage value Compilation Error None of these. will print Hello World will print garbage value Compilation Error ANSWER DOWNLOAD EXAMIANS APP