Printing an array in C++?

前端 未结 10 1248
谎友^
谎友^ 2020-11-27 14:35

Is there a way of printing arrays in C++?

I\'m trying to make a function that reverses a user-input array and then prints it out. I tried Googling this problem and i

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 14:58

    C++ can print whatever you want if you program it to do so. You'll have to go through the array yourself printing each element.

提交回复
热议问题