How to passing string array from function to main() by references [c++] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to passing string array from function to main() by references [c++]

how to do like this ? Example : Item status 1. A off 2. B off 3. C off enter no item to on: 2 -> system("cls") clear all previous output and print new output ass below Item status 1. A off 2. B on 3. C off enter no item to on: 1 system("cls") clear all previous output and print new output ass below Item status 1. A on 2. B on 3. C off enter no item to on:

2nd Dec 2017, 9:42 AM
Asyraf Ilias
Asyraf Ilias - avatar
1 Answer
+ 5
in c++ array is passed to some fuction by reference default
2nd Dec 2017, 9:52 AM
Vukan
Vukan - avatar