The correct option is
B loudly
In order to fill in the blank with the most suitable adjective or an adverb, let's understand what adjectives and adverbs are.Adjectives are the words that define/explain nouns or pronouns. For example: Roshni is pretty. Here, 'Roshni' is the noun and 'pretty' explains how she is, hence 'pretty' is the adjective.
Adverbs are the words that describe action words (verbs). For example: Ram fought bravely. Here, 'Ram' is the noun and 'fought' is the verb. 'Bravely' describes how he fought, hence it is the adverb.
NOTE: We need a word to describe the way he was shouting. Since, 'shouting' is a verb, the word that describes it is called an adverb. Hence, we need an adverb to fill in the blank.
Option A - 'Loud' is an adjective and not an adverb. Thus option A is incorrect.
Option B - 'To loud' is grammatically incorrect, as the marker 'to' is used with a verb in its original form. An adjective is often accompanied by 'too' and not 'to', however, as we need an adverb, we can't use 'to loud' here. Hence, option B is incorrect.
Option C - 'Louding' is a wrong word. Thus option C is incorrect.
Option D - 'Loudly' is an adverb which can be used to describe the way he was shouting. Hence, option D is the correct answer.
'He was shouting loudly at me.'