Latest Answer : Hi, This is a typical example of reflection. If you are using .NET then use reflection for this purpose. In this case you create an object of a particular type and the invoke methods at run time by passing function name. ...
Latest Answer : pass multiple variables to the function as formal parameters ... function will actually set those values (output variables). ...
Latest Answer : Arrays have to difine with fixed size it will not grow dynamically , vector size can be increased bydynamically and vectors are synchronized.yaa always right.vector is a standard template library in C++. Vector size can be increased dynamically and stores ...
Latest Answer : Auto variables are stores in the Stack . ...
Where does global, static, local, register variables, free memory and C Program instructions get stored?
Latest Answer : Yes . e.g. scanf ("%10s", str ); only 10 chars would be taken in ...
Latest Answer : gets does NOT check the size of the buffer and overflow on the stack can occour. Because of this, you should use fgets in preferance. ...
Latest Answer : The advantages of using pointers are: 1: you can work with the address of the variable2: you can reference the variables in more different easiest ways....   e.g int a[10],*b;               b=&a;        if you want to refer ...
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Latest Answer : near pinter occupy 16 bytesnear and far occupy 32 bytes ...