Does C++ new initialise it's value to zero?
Code:int main() { int *i=new int; cout<<*i;//Will it always be 0 getch(); return 0; }
Does C++ new initialise it's value to zero?
Code:int main() { int *i=new int; cout<<*i;//Will it always be 0 getch(); return 0; }