When software is written, it is automatically protected and considered to be:

A. trademarked
B. copyrighted
C. patented
D. a trade secret

B. copyrighted