I need to dynamically create an array of integer. I\'ve found that when using a static array the syntax
int a [5]={0};
initializes correctl
Value initialize the elements with ()
()
Example:
int *p = new int[10]; // block of ten uninitialized ints int *p2 = new int[10](); // block of ten ints value initialized to 0