Quote Originally Posted by byyp
both of them are entirely different terms used in different contexts..

"scam" means a program which is "dishonest" and such programs never do what they promise..

while on the other hand, "spam" is relatively a milder term on dishonesty's scale and its related to the "unwanted emails or comments or posts" that we/anyone can get..hope things are clear now..
Thanks for the information byyp as i was little bit confused in using the terminologies at different contexts..