Home / MCQ Bank / Computer
Computer Classes And Objects In Python Difficulty: Medium

What is getattr() used for?

Select the correct option to test your answer:

More Computer Questions

What does MVC pattern stands for? On freeing a dynamic memory, if the pointer value is not modified, then the pointer points to. The special formatting tag is 1. <P> 2. <TT> 3. <PRE> Which sorting algorithm is based on the divide-and-conquer strategy? What will be the output of the following C code? #include <stdio.h> void foo( int[] ); int main() { int ary[4] = {1, 2, 3, 4}; foo(ary); printf("%d ", ary[0]); } void foo(int p[4]) { int i = 10; p = &i; printf("%d ", p[0]); }