engineering recuitment GATE CSE 2023-24 Test Series Programming and Data Structure Programming in C Pointer
Consider a program written in C language:
#include
void display(int *tb[]);
int main()
{
int array1[] = {2,5,8,12,6,9};
int array2[] = {-12, 4, 6, -13,7};
int array3[] = {-8, -6, -7, 9};
int array4[] = {21, 23, 27,15,0};
int *t[] = { array1, array2, array3, array4};
display(t);
}
void display(int *tb[])
{
printf("%d ", *(tb[2]+1) + tb[3][1]);
}
What is the output of the above code?
Enter numerical value using the virtual keypad. Round off where necessary.