Question
Each of the following definitions and program segments has errors. Locate as many as you can.float ratings[];
Step 1
The declaration `float ratings[];` is incomplete because it does not specify the size of the array. In C/C++, an array must have a defined size unless it is initialized at the time of declaration. Show more…
Show all steps
Your feedback will help us improve your experience
Watch the video solution with this free unlock.
EMAIL
PASSWORD