How to Remove Last comma in C Array
I will Explain this with An Example
Question-
Prints an array of integers.The integers are pointed on one line separated by commas.
The output Should be as follows
According to above output, firstly we will look at how to get input No of Array elements and Array values as user input
According to above code we created an array which size is 5 and assigned five values to it.
Now let;s write the relevant code, so the values of the Array are output the Same line.

0 Comments