NIELIT O Level Exam

<p>What will be output for the following code ?</p><pre>import numpy as np<br>a=np.array([2,3,4,5])<br>print(a.dtype)</pre><div><br></div>

What will be output for the following code ?

import numpy as np
a=np.array([2,3,4,5])
print(a.dtype)


निम्नलिखित कोड का आउटपुट क्या होगा?

import numpy as np
a=np.array([2,3,4,5])
print(a.dtype)


A. int32

B. int

C. float

D. none of these इनमे से कोई नहीं




Correct Answer is :

A. int32



Explanation

All elements in array are integer so the dtype of array is int32 or int64 

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad