page-banner
Chapter-4 (Part-2) Building IoT applications
Q26.
निम्नलिखित Arduino कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following Arduino code?<break-line><pre><code>void main(){ int k = 0; double d = 10.21; printf("%lu", sizeof(k+d)); } void loop(){}</code></pre>
A. 10.21
B. 8
C. null
D. 23
View Answer
Q27.
कौन सी एक नियंत्रण संरचना नहीं है ?<break-line><break-line>Which one is not a control structure?
A. while
B. if….else
C. #define
D. case
View Answer
Q28.
निम्नलिखित कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following code?<break-line><pre><code>#include<stdio.h> void solve(){ int b = 4; int res = b++ + ++b + ++b; printf("%d", res); } int main(){ solve(); return 0; }</code></pre>
A. 12
B. 15
C. 17
D. 20
View Answer
Q29.
निम्नलिखित प्रोग्राम का आउटपुट क्या है?<break-line><break-line>What is the output of the following program?<break-line><pre><code>for(;;){ Statements }</code></pre>
A. Error
B. Statements will run forever
C. This an infinite loop
D. Both B and C
View Answer
Q30.
किसी भी लूप को समय से पहले रोकने और केवल लूप से बाहर निकलने के लिए उपयोग की जाने वाली नियंत्रण संरचना का नाम क्या है?<break-line><break-line>What is the name of the control structure used to stop any loop prematurely and only exit out of the loop, not affecting the running of the rest of the program?
A. The continue statement
B. The break statements
C. The exit statements
D. The purge statements
View Answer