In all a situation, it depends on the type of foul committed in basketball and there is different penalty for them.
All the options are correct option A - Over limit and option B - bonus is given.
In basketball, when a team accumulate a number of fouls. It takes five fouls to be fouled out in college and high school and six fouls in national basketball association.
After the foul is added up a team is considered over limit and free throws will be given to the opponent.
In situations like technical fouls, two free throws are given to the opponent. If a coach receives a technical foul twice during the game, they will be ejected. In flagrant foul two throws are given and the opponents takes possession of the ball.