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 : Class is not a Object simillarly Object cannot be a class. the relationship between this two is that the Object is an instance of the Class.If Car is a class then running car is the Object [it might comprise of other Objects also]. Simillarly if Heart ...
Latest Answer : Transient object : 1> emporary Object 2> Can not be serilised (ie. can not save to secodary ...
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. ...
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Latest Answer : Use fread() and fwrite() ...
Latest Answer : yes they are local to main ...
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
Latest Answer : str1="Hello";Str2="Hello World";while( (*str1)++ == (*str2)++ ); ...