Which of the following is the corrected sentence for the following sentence?

werent their no cookies left

a
Werent there no cookies left.
b
Weren't their any cookies left.
c
weren't there any cookies left?
d
Weren't there any cookies left?