menu
{ "item_title" : "Copy and Reference Puzzlers - Book 2", "item_author" : [" Jason Turner "], "item_description" : "128 FUN Puzzles of Increasing Difficulty Where You Must Ask: Was that a copy, or was it a reference, and who last changed that value?Book 2 now has std:: swap puzzlesExample puzzle:void run() {char char_1{'t'};char_1 = 'm';auto &char_3 = char_1;char_1 = 'u';char char_5{'o'};char_1 = 'c';auto &char_7 = char_3;char char_8{'l'};auto &char_9 = char_1;char_8 = 'k';auto &char_11 = char_7;char char_12{'l'};print({}{}{}{}{}, char_1, char_12, char_5, char_7, char_8);} // Answer (5): __ __ __ __ __", "item_img_path" : "https://covers3.booksamillion.com/covers/bam/9/79/881/726/9798817267822_b.jpg", "price_data" : { "retail_price" : "9.99", "online_price" : "9.99", "our_price" : "9.99", "club_price" : "9.99", "savings_pct" : "0", "savings_amt" : "0.00", "club_savings_pct" : "0", "club_savings_amt" : "0.00", "discount_pct" : "10", "store_price" : "" } }
Copy and Reference Puzzlers - Book 2|Jason Turner

Copy and Reference Puzzlers - Book 2 : 128 FUN Puzzles

local_shippingShip to Me
In Stock.
FREE Shipping for Club Members help

Overview

128 FUN Puzzles of Increasing Difficulty Where You Must Ask: Was that a copy, or was it a reference, and who last changed that value?

Book 2 now has std:: swap puzzles

Example puzzle:

void run() {
char char_1{'t'};
char_1 = 'm';
auto &char_3 = char_1;
char_1 = 'u';
char char_5{'o'};
char_1 = 'c';
auto &char_7 = char_3;
char char_8{'l'};
auto &char_9 = char_1;
char_8 = 'k';
auto &char_11 = char_7;
char char_12{'l'};
print("{}{}{}{}{}", char_1, char_12, char_5, char_7, char_8);
} // Answer (5): __ __ __ __ __

This item is Non-Returnable

Details

  • ISBN-13: 9798817267822
  • ISBN-10: 9798817267822
  • Publisher: Independently Published
  • Publish Date: August 2022
  • Dimensions: 11 x 8.5 x 0.49 inches
  • Shipping Weight: 1.21 pounds
  • Page Count: 232

Related Categories

You May Also Like...

    1

BAM Customer Reviews