Bootstrap's form-inline class arranges form controls and labels horizontally on the same line, making the form inline.
Other options use form-group and grid classes for vertical or horizontal layouts but not inline.
The text-right class aligns text to the right side of its container, commonly used for labels in horizontal forms.
Other options align text differently or justify it.
Using aria-label on inputs without visible labels provides descriptive text for screen readers, improving accessibility.
Placeholders are not sufficient labels, and hiding labels or removing them harms accessibility.
Option C correctly uses form-group row with label having col-sm-3 col-form-label and input inside a col-sm-9 div.
Other options misuse grid classes or omit wrapping divs, breaking layout.
Bootstrap's form-inline class stacks form controls vertically on small screens (viewports narrower than 576px).
This responsive behavior prevents horizontal overflow.