c field - print after adding
Hi there. I have just started doing C, and already got to first full stop :S.
Problem is next:
I have to define a field of, lets say 5 elements, and then print it. And also I have to define function that will add element to beggining of the field and to the end of the field. And after that I have to print the "new" bigger field. And that is the problem. If I define field as
I dont know how to print field after adding elements to it. I know that I have to do something with [5], but I dont know.
Can anyone help :)