Step 1: Understanding the Concept
For positive \(a,b\): \(\cot^{-1}a+\cot^{-1}b=\cot^{-1}\left(\dfrac{ab-1}{a+b}\right)\).
Step 2: First two terms
\(\cot^{-1}7+\cot^{-1}8=\cot^{-1}\left(\dfrac{56-1}{15}\right)=\cot^{-1}\dfrac{11}{3}\).
Step 3: Add the third term
\(\cot^{-1}\dfrac{11}{3}+\cot^{-1}18=\cot^{-1}\left(\dfrac{\frac{11}{3}\cdot18-1}{\frac{11}{3}+18}\right)=\cot^{-1}\left(\dfrac{65}{65/3}\right)=\cot^{-1}3\).
Step 4: Result
Hence \(x=3\), option (C).
Final Answer:
The value of x is 3.
\[ \boxed{\text{(C) }3} \]