Sunday Brain Twister

It’s Sunday and sun-day as well. Let’s add some fun to it!

Question

Find the compile time errors, if any, in the snippet below. (C++14 compiler)

It’s recommended to try yourself before jumping to the solution (on page 2). The fun comes with tickling those gray cells. Try yourself!

Turn to page 2 for the solution.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s