Latest Answer : is this auestion refers to how many bits are set to 1 in a value.if that is the question then simply convert that value into bit code....then you can get the answer easily..... ...
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 : Command line arguments can be accessed by using a string type and integer type variables as the main function arguments. The string includes all what u typed in the command line(eg:hello.exe jijo nijesh). The int variable shows the no of words in it. ...
Latest Answer : pass multiple variables to the function as formal parameters ... function will actually set those values (output variables). ...
Latest Answer : use ulimit -n 100. that is the above line increase the number of open file descriptor to 100 w.r.t that shellbalaji ...
Latest Answer : In C++, variable declared as static it is shared by all the objects of the class. It can be accessed only by a static function. ...
Latest Answer : The size of the array must be predefined whereas the size of the linklist is defined at the runtime, ...
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. ...
How will you declare an array of three function pointers where each function receives two ints and returns a float?