I am learing C++ while I see some codes the structs are initialized in diffent ways, For example
typedef struct Node {
Node *p;
Node *n;
int data;
}Node;
What is the difference between these two ways, or both are same,
Node* root = new Node();
vs
Node* root = new Node;
Thanks in advance !!