C Programming What is the difference between a declaration and a definition of a variable? A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a declaration must occur first. Both can occur multiple times, but a definition must occur first. There is no difference between them. 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]);} 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 Code will not compile ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 1 2 Error -2 1 2 Error -2 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. 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 infinite -10 to 0 -10 to -1 Complier error -10 to infinite -10 to 0 -10 to -1 Complier error 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 2 Linker Error : Undefined symbol 'i' 4 Depends on the Compiler 2 Linker Error : Undefined symbol 'i' 4 ANSWER DOWNLOAD EXAMIANS APP