page-banner
Chapter-4 (Part-2) Building IoT applications
Q21.
एक स्थिर चर को इस प्रकार घोषित किया जा सकता है<break-line><break-line>A constant variable can be declared as:
A. only in variable declaration area
B. After main ()
C. const number int
D. #define number 35
View Answer
Q22.
एरे के चौथे एलिमेंट तक पहुचने के लिए सही विकल्प चुनें :<break-line><break-line>Choose the correct option to access the 4th element of the array:<break-line><pre><code>int z [30]; int *pz; pz = z;</code></pre>
A. *(z+3)
B. z[3]
C. pz[3]
D. *(*pz+3)
View Answer
Q23.
एक सारणी अनुक्रमणिका, xyz [ ] ……. से शुरू होती है :<break-line><break-line>An array index, xyz [ ] starts with…….
A. Zero
B. -1
C. 1
D. 2
View Answer
Q24.
निम्नलिखित कोड का आउटपुट क्या होगा ?<break-line><break-line>What will be the output of the following code?<break-line><pre><code>#include<stdio.h> void solve(){ char ch[5] = "abcde"; int ans = 0; for(int i=0; i < 5; i++){ ans += (ch[i] - 'a'); } printf("%d", ans); } int main(){ solve(); return 0; }</code></pre>
A. 5
B. 20
C. 40
D. 10
View Answer
Q25.
आर्डुनो कोड का सही निष्पादन प्रक्रिया क्या है ?<break-line><break-line>What is the correct execution process of an Arduino code?
A. Pre-processor → Editor → Compiler
B. Editor → Pre-processor → Compiler
C. Compiler → Pre-processor → Editor
D. Editor → Compiler → Pre-processor
View Answer