I don't know what's the problem with this piece of code, I'm just getting a random result here:
#include <stdio.h>
#include <conio.h>
int main() {
char arr[3][2] = {{'z','a'},{'e','r'},{'x','v'}};
int i;
scanf("%d",&i);
printf("%c",*(arr+i));
getch();
}
Thanks
*(arr+i)to produce?