Spanish is an inflected language, with a two-gender noun system and about fifty conjugated forms per verb, but with inflection of nouns, adjectives, and determiners limited to number and gender.
Subject/verb inversion is not required in questions, and thus the recognition of declarative or interrogative may depend entirely on intonation.