The following C program includes an error. Which line of the following code causes the error? 1 #include 29 int main({ int query_no, flag=0; scanf("%d", &query_no); while(query_no>0) {...


The following C program includes an error. Which line of the following code causes the error?<br>1<br>#include<stdio.h><br>29 int main({<br>int query_no, flag=0;<br>scanf(0) { if(query_no%10==0) { flag=1; break; } 3 4 7 8日 10 11 12 else 13 query_no/=10; } if(flag){ printf("Given number is Duck Number\n"); } else{ printf("Given number is not Duck Number\n"); 14 15 E 16 17 18日 19 20 21 return 0 22 O Line 21 Line 7 O Line 12 Line 4 "/>
Extracted text: The following C program includes an error. Which line of the following code causes the error? 1 #include 29 int main({ int query_no, flag=0; scanf("%d", &query_no); while(query_no>0) { if(query_no%10==0) { flag=1; break; } 3 4 7 8日 10 11 12 else 13 query_no/=10; } if(flag){ printf("Given number is Duck Number\n"); } else{ printf("Given number is not Duck Number\n"); 14 15 E 16 17 18日 19 20 21 return 0 22 O Line 21 Line 7 O Line 12 Line 4

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here