• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

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

c++
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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Anyone Have group of learning code?
1 Votes
Theres a lot of weird bugs in the Introduction to C++ course
2 Votes
The question is, Can AI replace programmers?
2 Votes
Bug in sololearn ?
0 Votes
Hi I want to learn react.js and I don't have even idea of coding just newbie
0 Votes
Why does range(5) print 0-4 in python
0 Votes
Seniors I need your helpful code for learning easily🙏😔
0 Votes
How do I complete this code to make “game over” appear on the screen.
0 Votes
Wouldn’t a erlang course be amazing?
1 Votes
Sorry for the interruption but i wants to build a os
0 Votes