In UI development, what is a component?
- aA CSS stylesheet that controls the colors and spacing across every page of the app
- bA global function that runs exactly once when the whole application starts up
- cA reusable, self-contained piece of UI that can be combined to build a screen✓
- dA database table that holds the rows a particular screen needs to display
Explanation:A component packages markup, and often its own logic and styling, into a named unit you can reuse and nest — the basic building block of a UI. Option (a) confuses a component with styling, and (d) confuses it with the data layer; a component may use data but is not where it is stored.