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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 47 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]:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply