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

In C#, what is the method called automatically when an object is created to initialize the object's state?

Select the correct option to test your answer:

More Computer Questions

Which of the following don't use matrices? In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of a register? What will be the added by using <td> and </td> tag ? The . . . . . . . . function returns a list of all the formal arguments of a function. What will be the output of the following C code? #include <stdio.h> struct point { int x; int y; }; void foo(struct point*); int main() { struct point p1[] = {1, 2, 3, 4}; foo(p1); } void foo(struct point p[]) { printf("%d\n", p->x); }