You can scan a QR code using the camera on your smartphone, tablet, or computer — however, you may need to download an app.
You can scan a Snapchat code for your own profile or a friend's using the app's camera screen or your mobile device's camera roll.