Page 1 of 1

Which is not a valid declaration of an array of strings to store names? a) std::string names[5]; O b) const int SIZE = 5

Posted: Sun May 15, 2022 8:40 am
by answerhappygod
Which Is Not A Valid Declaration Of An Array Of Strings To Store Names A Std String Names 5 O B Const Int Size 5 1
Which Is Not A Valid Declaration Of An Array Of Strings To Store Names A Std String Names 5 O B Const Int Size 5 1 (35.32 KiB) Viewed 48 times
Which is not a valid declaration of an array of strings to store names? a) std::string names[5]; O b) const int SIZE = 5; std::string names[SIZE]: Oc) int SIZE = 5; std::string names[SIZE); O d) #define SIZE 5 std::string names[SIZE]: