Can You Spot Bugs?◀ Danger of Using Double Slash Comment▶ Trap 1 - Type Cast Amazon
hen you are at an interview for a software engineer position you are often asked to look at some code and point out things that are wrong with it. The ability to quickly understand the code written by someone else is important to have in your software career.
To have such abilities means you need to know the C++ language thoroughly. Often the subtleties are what confuse programmers and therefore important for any programmer worth their salt to know!
In this chapter we’ll look at a series of programs and try to spot what’s wrong with them!
Don’t be discouraged if you cannot find anything wrong in the first glance. Read it again and picture it mentally and you’ll spot the bugs!
◀ Danger of Using Double Slash Comment▶ Trap 1 - Type Cast