Question

Given the C++ statement alpha[i]->beta = 13.5; what do you know about alpha?

Given the C++ statement alpha[i]->beta = 13.5; what do you know about alpha?

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

There is a structure array which has float/double variable named beta as data member. And, Alpha is a pointer holding the structure array.

Explanation :-

alpha[i] shows that it is array

aplha[i]->; -> shows that it is pointer as the structure members are accessed with -> through pointers

aplha[i]->beta shows that it is structure and it has a member named beta.

beta=13.5 tells that it is double/float type.

Add a comment
Know the answer?
Add Answer to:
Given the C++ statement alpha[i]->beta = 13.5; what do you know about alpha?
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