Q. Which file is updated when a new component is added via CLI?
β
Correct Answer: (C)
app.module.ts
Explanation: For non-standalone components, app.module.ts is updated to declare the component.