•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 455,985 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,789 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 3759 | Replies: 17
![]() |
•
•
•
•
Originally Posted by hail2dthief
The code you given has some error, are you sure you are giving the right code?
Anyway, the output should be:
x x
cause ptr1 has been assigned to the address of var2. When you output the value of *ptr1, it will refer to the value of that address.
•
•
•
•
Originally Posted by hfick
i need to know the data types of variables such as:
double var1, *ptr1, *ptr2;
float *ptr3;
int var2, *var4....do you know anything about data types?
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- What relation does **indirection operator have with Multidimensional Arrays (C++)
- Linked List using pointers (C++ ADT) (C++)
- Why can't I use Pointers to point to a Enumurated Constant (C++)
- Help on finishing figuring out this log (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: Error in c++ program
- Next Thread: database access using c++



Linear Mode