page-banner
Chapter-4 (Part-2) Building IoT applications
Q6.
फंक्शन के साथ C प्रोग्राम का आउटपुट क्या होगा?<break-line><break-line>What is the output of C program with functions?<break-line><pre><code>int main() { int a = 0; printf("AJAY"); return 1; printf("VIJAY"); return 1; }</code></pre>
A. AJAY VIJAY
B. AJAY
C. VIJAY
D. Compiler error
View Answer
Q7.
int a : 16; 16 यहाँ क्या दर्शाता है?<break-line><break-line>int a : 16; What does 16 indicate here?
A. Value
B. Size
C. Address
D. None
View Answer
Q8.
C प्रोग्राम का आउटपुट क्या है?<break-line><break-line>What is the output of C Program?<break-line><pre><code>int main() { int k = 10; while(k <= 12) { printf("%d ", k); k++; } return 0; }</code></pre>
A. 10 10 10
B. 12 12 12
C. 10 11 12
D. 12 11 10
View Answer
Q9.
जब a = 4, तो नीचे दी गई स्टेटमेंट में b का मान क्या होगा?<break-line><break-line>When a = 4, what is the value of b in the given statement?<break-line>b = (a > 6 ? 4 : 6);
A. Zero
B. Error
C. 4
D. 6
View Answer
Q10.
एम्बेडेड C में टर्नरी ऑपरेटर के लिये सही विकल्प चुनें:<break-line><break-line>Choose the correct option for the ternary operator in embedded C:
A. Based on ternary condition
B. condition? Expression1: Expression2
C. condition? Expression1 < Expression2
D. Similar to execution of a Loop
View Answer