<｜begin▁of▁sentence｜>### Instruction:
Given the API documentation for 'gnc_graph', how can you generate and display the edges of a GNC digraph with 10 nodes using NetworkX, ensuring the process can be replicated with the same random seed?
### Response:
import networkx as nx

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

# Print the edges of the graph
print(G.edges())
<|EOT|>
