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 Code will not compile 0 0 0 Garbage Value Garbage vlaue Garbage Value Garbage value 0 Code will not compile 0 0 0 Garbage Value Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 8 3 3 8 7 3 None of these 3 7 8 3 3 8 7 3 None of these 3 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} well done examians None of these complier error examians well done examians None of these complier error examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} c 65 A Error c 65 A Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Block scope No scope at all File scope Local scope Function scope Block scope No scope at all File scope Local scope Function scope ANSWER DOWNLOAD EXAMIANS APP