The correct option is D 96
If the number of chocolates increases, the cost will increase, therefore, the number of chocolates and their cost vary in direct proportion.
Let us assume the cost of 12 chocolates to be x rupees.
864=12x
∴8x=768 (multiplying both sides by 64x)
∴x=96
Hence, the cost of 12 chocolates is 96 rupees.