What is the difference between reference type and pointers.
Answer Posted / p.madhupriya
pointer is a variable that points to address of another
variable .
reference is variable that points to address of that
variable only.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what Is DCS ? what i will get benefit when i did?
What are the uses of typedef in a program?
Is turbo c++ free?
Is c++ high level programming language?
What is const pointer and const reference?
What is a stack c++?
What does asterisk mean in c++?
What is c++ & why it is used?
What is abstraction in c++?
Why Pointers are not used in C++?
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
What is the need of a destructor? Explain with the help of an example.
What is a singleton c++?