NIELIT O Level Exam

What is a correct syntax to print the first item of an array?

What is a correct syntax to print the first item of an array?

किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?

A. print(arr[1])

B. print(arr,0)

C. print(arr,1)

D. None of These




Correct Answer is :

D. None of These



Explanation
the correct code to print first element of array is print(arr[0])
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad