Question

D Question 8 2 pts Initialize the array choices from the previous question with the letters a, b, c, and d. HTML Editore B IV


D Question 7 2 pts Declare an array named choices that can only accept single letters as elements. The array will hold four (

use C++
0 0
Add a comment Improve this question Transcribed image text
Answer #1

7) char choices[4];

here we were asked to declare a array which will will have four letters

therefore for that we have declared character type array and size of the array is 4 as will have four letters in it..

8) char choices[4]={'a','b','c','d'};

In this question we have to intialize the previous array with four different values that is a,b,c,d..

Add a comment
Know the answer?
Add Answer to:
use C++ D Question 8 2 pts Initialize the array choices from the previous question with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT