how to input a matrix separated by commas in c code example Example: how to take comma separated integer input in c scanf("%d,",&arr[i]);