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++);} 7 Compiler Error 0 6 5 7 Compiler Error 0 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} None of These hello garbage value hello 5 Error None of These hello garbage value hello 5 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Examians Exam veda Exam_veda Both A and B None of these Examians Exam veda Exam_veda Both A and B None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a declaratrion It is a formal parameter All of these Initialization is a part of definition It is a declaratrion It is a formal parameter All of these Initialization is a part of definition ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These ANSWER DOWNLOAD EXAMIANS APP
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);} 3 3 3 4 2 3 2 2 2 4 3 3 3 4 2 3 2 2 2 4 ANSWER DOWNLOAD EXAMIANS APP