Latest Answer: Its depends on data which your using.suppose you want to store the age then CHAR age is useful. ...
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived object,. calling of that virtual method will result in which method
Identify the correct argument for the function call fflush() in ANSI C:A)stdoutB)stdinC)stderrD)All the above
Latest Answer: A)stdoutB)stdinC)stderrD)All the above Answer :: D] All the above ...
Hi,the question is you have cpu that knows to docomputations on 32 bits(unsigned integer).write a function that find the sum of 2 64 bits numbers using this cpu?there is a struct:typedef struct{ int
Latest Answer: Hello friends, Here we need to use a linked list. See, it is already known that CPU doesnot support one single 64bit number hence, first thing is that using normal data types will be useless. So here what we can do is.. Create two linked lists where each ...
what are the different types of errors observed in C and classify them as compile time or run-time errors.
Latest Answer: C and C++ are different. for example: type casting. ...
The usage of static with a function or variable restricts their scope.Is this behaviour memory related?
Latest Answer: The keyword static dose not effect the sorage of function as it dose in case of variable a static variable means that it is stored in static dat section but a static function dose not mean that alhough it means this function would not be accessibe ...
Write a program to find the binary form for the given charcter input.eg:- for 'A' ASCII value is 65 and its binary form is 1000001.
Latest Answer: Here is a simple code which will just get each bit of the char by AND operationint main (){ char a; int i,j; printf("Enter a charn"); scanf("%c",&a); printf("The ...
#includevoid main(){ float a=0.7; if(a
Latest Answer: #include#includevoid main(voif){float a=0.9,b=0.9;double c=0.9;if(a
Write a program to find distinct word from file,and to check a particular word present or not in each line
Latest Answer: Here is how I would write this in C++.....Enjoy// // File: FindWordCPP.cc// Author: Steven Ong//// Created on February 19, 2008, 11:05 PM//#include #include #include #include #include ...
main(){ printf("%d",(2.5*2.5));}above gives output of 0 plss explain
Latest Answer: agreed except that we loose 6 bytes, rather we can say sizeof(double) - sizeof(int). As in case of linux we loose 4 bytes as sizeof(int) == 4 bytes ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top