דילוג לתוכן
שאלה

Declaring and assigning a variable

תצוגה מקדימה

מפתח התשובות מוצג למורים מחוברים.

Declaring and assigning a variable

Which statement correctly declares an integer variable named count and assigns it the value 10?

  1. int count = 10;

  2. count int = 10;

  3. var 10 = count;

  4. int count == 10;


A declaration gives the type first, then the name, and assignment uses a single equals sign.

פרטים

אין תיאור עדיין.

קהל יעד
תיכון · כיתות י׳–י״א
רמת קושי
6 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר
עודכן
לפני 4 ימים

תגובות

  1. אין תגובות עדיין.
© כל הזכויות שמורות