C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 3 3 2 2 3 4 2 3 2 4 3 3 2 2 3 4 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of these 5 4 3 2 1 Compilation Error Infinite Loop 5 5 5 5 5 None of these 5 4 3 2 1 Compilation Error Infinite Loop 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Must contain at least one function. Needs input data. None of these Need not contain any function. Must contain at least one function. Needs input data. None of these Need not contain any function. 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");} examians well done examians complier error None of these examians well done examians complier error None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * % None of these + / * % None of these + / ANSWER DOWNLOAD EXAMIANS APP