You'll probably want to have the second for loop set a flag if it encounters a 0 in the array, which you can check after the loop is finished. As written, if the user enters more than one 0 it will print "Yes, there is a 0" for each one.
Code:
0 0 0 0 0 0 0 0 0 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
Yes, there is a 0
The variable cnt is unused. (Turning on compiler warnings would probably find this for you. For gcc add -W -Wall to the command line/compiler options.)