Answer:
The total number of handshakes that occur are:
35
Explanation:
Since, the total number of people are 10.
Also, the handshakes occur between the people who are not adjacent to each other.
Since, the formula that can be used to solve this is:

where
represent the number of ways such that every 2 person shake hands and 10 is subtracted with the number of cases that are adjacent to each other i.e. the person standing adjacent do not shake hands.
Hence, on solving we get: 35
There are a total of 35 handshakes.