C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} h Error hi followed by garbage value hi Garbage Value h Error hi followed by garbage value hi Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Values of the first elements of the array. Number of element of the array. Address of the array. Address of the first element of the array. Values of the first elements of the array. Number of element of the array. Address of the array. Address of the first element of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 None of these Garbage Value 0 6 5 None of these Garbage Value 0 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 3, 2, 15 2, 1, 15 1, 2, 5 2, 3, 20 3, 2, 15 2, 1, 15 1, 2, 5 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa Compiler Error None of These mmmm nnnn aaaa mmm nnn aaa Compiler Error None of These mmmm nnnn aaaa ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 55445 54554 45545 54544 55445 54554 45545 ANSWER DOWNLOAD EXAMIANS APP