SubhanUllah Posted October 8, 2022 Report Posted October 8, 2022 It's an array of strings. Example: #include <string> #include <iostream> #include <array> int main() { std::array<std::string, 2> a = {"Hello ", "world!"}; std::cout << a[0] << a[1]; } Here the a is an array of strings. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.