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