C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 3 2 0 1 Garbage Value 3 2 0 1 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 4 2 2 3 3 2 3 2 4 3 4 2 2 3 3 2 3 2 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as None of these. int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] None of these. int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is legal but meaningless is syntactically and semantically correct is illegal None of these. is legal but meaningless is syntactically and semantically correct is illegal ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[3][4]){} None of these void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int *p[3][4]){} None of these void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam veda Examians Both A and B None of these Exam_veda Exam veda Examians Both A and B None of these Exam_veda ANSWER DOWNLOAD EXAMIANS APP