#include <iostream> static const char s[][10] = { "foo", "bar", }; void test(const char s[][10]) { using std::cout; for (int i = 0; i < 2; i++) { cout << s[i]; } } int main() { test(s); }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment