Which programming language is this?
struct Node {
int data;
Node* next;
};
Answer: C++
A struct with a self pointer Node* and a semicolon after } is C++.
Play Programming Languages ▸
struct Node {
int data;
Node* next;
};
Answer: C++