page-banner
Chapter-4 (Part-2) Building IoT applications
Q16.
दिए गए C कोड में, लूप के लिए निष्पादित करता है:<break-line><break-line>In the given C code, for loop executes for:<break-line><pre><code>#include<stdio.h> void main () { int x=10; for ( ; ; ) { printf("%d\n",x); } }</code></pre>
A. 10 times
B. 9 times
C. infinite
D. Zero
View Answer
Q17.
हम ऐरे को कैसे प्रारम्भ कर सकते है:<break-line><break-line>How can we initialize the array?
A. Initializing
B. Assigning array
C. Factoring and array
D. Populating an array
View Answer
Q18.
दिए गए कोड के अनुक्रमण के लिए सही विकल्प चुनें:<break-line><break-line>Choose the correct option for indexing of the given code:<break-line><pre><code>int main () { int xyz[8]; return 0; }</code></pre>
A. 0, 7
B. 0, 8
C. -1, 7
D. 1, 7
View Answer
Q19.
एरे वाले C प्रोग्राम का सही विकल्प चुनें:<break-line><break-line>Choose the correct option of C program having array:<break-line><pre><code>int main () { int xyz (4) = [10,20,30,40]; printf ("%d", xyz (1)); }</code></pre>
A. Zero
B. Compile error
C. 10
D. 20
View Answer
Q20.
If-Else और स्विच केस स्टेटमेंट में अंतर है:<break-line><break-line>The difference in If-Else and switch case statement is:
A. If-Else बाइनरी सर्च को लागु करता है / If-Else enforces binary search
B. स्विच-केस लीनियर सर्च को लागु करता है / Switch-case enforces linear search
C. If-Else के अन्दर कई डिसिशन के लिए कई स्टेटमेंट का उपयोग किया जा सकता है / Multiple statements can be used for numerous decisions inside If-Else
D. स्विच केस के अन्दर कई डिसिशन के लिए स्टेटमेंट का उपयोग किया जा सकता है / Multiple statements can be used for numerous decisions inside switch case
View Answer