Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

new expression

new int(*[10])(); // error: parsed as (new int) (*[10]) ()
new (int (*[10])()); // okay: allocates an array of 10 pointers to functions
Source by en.cppreference.com #
 
PREVIOUS NEXT
Tagged: #expression
ADD COMMENT
Topic
Name
2+8 =