I will explain with the help of an example;
See the bellow diagram:
In the diagram, there are 2 input nodes and 3 hidden nodes and only one output node.
The connections between the nodes are not made randomly.
There is a way of doing this. Firstly we will connect the first node of the input layer to all the nodes of the adjacent hidden layer. The second node of the input layer follows the same technique as the first one. Then from the hidden layer, only one connection is established between the hidden node and the output node. One node-one connection follows here.
As you can see in the diagram that there are 3 hidden nodes and the connections are also 3.
So, according to your question, there are 10 input nodes,10 hidden nodes, and one output node then there must be 110 connections as 10 input nodes should connect to all 10 nodes in the hidden layer (100 connections). Then all 10 nodes in the hidden layer should connect to the output node (10 connections).
Hope this helps!
If you wish to know about Neural Network then visit this Neural Network Tutorial.