Describe run-time type identification?
Answer / anuradha chaurasia
The ability to determine at run time the type of an object by using the typeid operator or the dynamic_cast operator.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I run c++?
What are advantages and disadvantages of Design patterns?
Mention the ways in which parameterized can be invoked.
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?
Does a derived class inherit or doesn't inherit?
what are the characteristics of Class Members in C++?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
Why do C++ compilers need name mangling?
What is an incomplete type?
A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.
What is set in c++?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?