page-banner
Chapter-4 (Part-2) Building IoT applications
Q6.
फंक्शन के साथ C प्रोग्राम का आउटपुट क्या होगा?

What is the output of C program with functions?
int main() {
  int a = 0;
  printf("AJAY");
  return 1;
  printf("VIJAY");
  return 1;
}
A. AJAY VIJAY
B. AJAY
C. VIJAY
D. Compiler error
View Answer
Q7.
int a : 16; 16 यहाँ क्या दर्शाता है?

int a : 16; What does 16 indicate here?
A. Value
B. Size
C. Address
D. None
View Answer
Q8.
C प्रोग्राम का आउटपुट क्या है?

What is the output of C Program?
int main() {
  int k = 10;
  while(k <= 12) {
    printf("%d ", k);
    k++;
  }
  return 0;
}
A. 10 10 10
B. 12 12 12
C. 10 11 12
D. 12 11 10
View Answer
Q9.
जब a = 4, तो नीचे दी गई स्टेटमेंट में b का मान क्या होगा?

When a = 4, what is the value of b in the given statement?
b = (a > 6 ? 4 : 6);
A. Zero
B. Error
C. 4
D. 6
View Answer
Q10.
एम्बेडेड C में टर्नरी ऑपरेटर के लिये सही विकल्प चुनें:

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

Create Account