मराठी

Which of the following is the correct usage? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following is the correct usage? 

पर्याय

  • int a[−40] 

  • int a[40]

  • float a[0 − 40]

  • None

MCQ

उत्तर

int a[40]

Explanation:

This is correct because it provides an array of 40 integers. The array size is positive, and the syntax is valid. 

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: Arrays (Single Dimensional and Double Dimensional) - EXERCISES [पृष्ठ २३८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 3 Arrays (Single Dimensional and Double Dimensional)
EXERCISES | Q I. 1. | पृष्ठ २३८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×