Answers for "new expression"

C++
0

new expression

new int(*[10])(); // error: parsed as (new int) (*[10]) ()
new (int (*[10])()); // okay: allocates an array of 10 pointers to functions
Posted by: Guest on June-05-2021

Browse Popular Code Answers by Language