C Programming Challenge 911 Array Expander C pointers C arrays
#############################
Video Source: www.youtube.com/watch?v=IFS1HlhWDgE
Starting Out With C++ From Control Structures Through Objects • C++ Programming Challenge 9-11 Array Expander (C++ pointers, C++ arrays) • Write a function that accepts an int array and the array's size as arguments. The function should create a new array that is twice the size of the argument array. The function should copy the contents of the argument array to the new array, and initialize the unused elements of the second array with 0. The function should return a pointer to the new array. • Learning to code? Follow my C++ tutorials for beginners. I do a lot of C++ programming challenges and C++ projects as part of my homework - every day! • If you are learning to program, nothing beats solving real programming exercises and coding challenges. • So don't forget to subscribe, as I release new programming videos every week! • DOWNLOAD SOURCE CODE: http://www.codinghomework.com/?p=957
#############################