page-banner
Chapter-4 (Part-2) Building IoT applications
Q21.
एक स्थिर चर को इस प्रकार घोषित किया जा सकता है

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.
एरे के चौथे एलिमेंट तक पहुचने के लिए सही विकल्प चुनें :

Choose the correct option to access the 4th element of the array:
int z [30]; 
int *pz; 
pz = z;
A. *(z+3)
B. z[3]
C. pz[3]
D. *(*pz+3)
View Answer
Q23.
एक सारणी अनुक्रमणिका, xyz [ ] ……. से शुरू होती है :

An array index, xyz [ ] starts with…….
A. Zero
B. -1
C. 1
D. 2
View Answer
Q24.
निम्नलिखित कोड का आउटपुट क्या होगा ?

What will be the output of the following code?
#include
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;
}
A. 5
B. 20
C. 40
D. 10
View Answer
Q25.
आर्डुनो कोड का सही निष्पादन प्रक्रिया क्या है ?

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

Create Account