Fill in blanks to allocate memory for an array of 8 integers. int *arr=NULL; arr=_____int[8]; | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Fill in blanks to allocate memory for an array of 8 integers. int *arr=NULL; arr=_____int[8];

30th Aug 2016, 4:43 PM
Soutik
Soutik - avatar
2 Answers
+ 4
use new to allocate memory
30th Aug 2016, 4:58 PM
Sunitha Ganti
Sunitha Ganti - avatar
0
use new
31st Aug 2016, 3:58 AM
Akshay Kamat
Akshay Kamat - avatar