<｜begin▁of▁sentence｜>### Instruction:
Given a requirement to create a graph using the growing network with copying (GNC) model, can you provide an example of how to generate such a graph with 10 nodes using NetworkX? How would you then list all the edges of the generated graph?
### Response:
import networkx as nx

# Generate a GNC graph with 10 nodes
G = nx.gnc_graph(10, seed=42)

# Display the edges of the GNC graph
print('Edges of the GNC graph:', G.edges())
<|EOT|>
