C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 1 2 -2 Error 1 2 -2 Error 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 Garbage vlaue Garbage Value 0 0 Code will not compile 0 Garbage Value Garbage value 0 Garbage vlaue Garbage Value 0 0 Code will not compile 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 0 1 1 None of these 0 1 0 0 1 0 1 1 None of these 0 1 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a formal parameter All of these It is a declaratrion Initialization is a part of definition It is a formal parameter All of these It is a declaratrion Initialization is a part of definition ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 Compiler Error 5 7 6 0 Compiler Error 5 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() strnstr() None of these laststr() strstr() strrchr() strnstr() None of these laststr() strstr() ANSWER DOWNLOAD EXAMIANS APP