NIELIT O Level Exam

Which of the following functions accepts only integers as arguments?

Which of the following functions accepts only integers as arguments?

निम्नलिखित में से कौन सा फंक्शन केवल इन्टिजर को आर्ग्यमन्ट के रूप में एक्सेप्ट करता है?

A. ord()

B. min()

C. chr()

D. any()




Correct Answer is :

C. chr()



Explanation
The function chr() accepts only integers as arguments. The function ord() accepts only strings. The functions min() and max() can accept floating point as well as integer arguments.
Latest Current Affairs 2025 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