For y = 4x, the domain of the function is all real numbers. This can be indicated as ( -infinity, infinity),
...later part of question:...
..."because an exponent can be any real"
exponent? !!!
Did you mean y = 4^x ? In this case the domain of y is all real numbers ann the range is (0, infinity), where the value 0 is not included in the range.