Virus is a program which can copy itselves & infect the
system. A spam is an e-mail which consists of
advertisements, insurance, etc... . It may have come
without our knowledge as an e- mail.
Virus comes and deleting in all files in the system(for
example this is type of disease). but spam is coming in
particular email. this is unnecessary file.
Virus is program written by the hacker .It is an EXE file
and one more when the user execute the file it will destroy
the information Very Important Resource Under Siege
whereas spam is sperading the along the network without
inviting