Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer correctly A C++ program declares the following two variables, select all the answers that apply: char orgName1[100] = United Nations; string orgName2( United
Please answer correctly
A C++ program declares the following two variables, select all the answers that apply: char orgName1[100] = "United Nations"; string orgName2( "United States"); Select one or more: O a. To compare orgName2 with orgName3 defined below: string orgName3 ("the u.s.a."); We can do the following: if (orgName2==orgName 3) //other code goes here O b. orgName1 is a fixed-size array of characters. It should be used to hold at most 99 characters. O c. Unlike orgName1, orgName2 can be modified to store as many characters as long as it does not exceed its maximal size allowed by the compiler. O d. orgName2 is an object-oriented string object. It's equipped with a large collection of member functions, e.g., at() and size()Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started