C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0 Infinite loop 10 Syntax error 0123456789 0 Infinite loop 10 Syntax error 0123456789 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to structure of similar data type. The pointers point to data of similar type. None of these. The pointers point to elements of the same array. The pointers point to structure of similar data type. The pointers point to data of similar type. None of these. The pointers point to elements of the same array. 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);} Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 5 9 8 6 7 5 9 8 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? -1 2 1 Program do no return a value. -1 2 1 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP