Explore
Connect
Documentation
Snippets
Log in
Sign up
1
2
3
4
5
6
7
8
9
10
int
main() {
// pd points to a dynamically allocated double v
ariable
double
*pd =
new
double
;
// free the allocated memory
delete pd;
return
0
;
}
Enter to Rename, Shift+Enter to Preview
Run