C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 1289 0289 713 Syntax error 0713 1289 0289 713 Syntax error 0713 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. 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; } 4 Linker Error : Undefined symbol 'i' 2 Depends on the Compiler 4 Linker Error : Undefined symbol 'i' 2 Depends on the Compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Garbage value Error 6 3 Garbage value Error 6 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and III III and IV II and IV I and II II and III I and III III and IV II and IV I and II II and III 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]);} Garbage value 0 0 Garbage Value Garbage vlaue Garbage Value 0 0 Code will not compile Garbage value 0 0 Garbage Value Garbage vlaue Garbage Value 0 0 Code will not compile ANSWER DOWNLOAD EXAMIANS APP