BinBrain Community
Welcome, Guest. Please login or register.
May 21, 2012, 05:57:01 PM

Login with username, password and session length
Search:     Advanced search
742 Posts in 415 Topics by 2732 Members
Latest Member: Ditalully
* Home Help Search Login Register


Online Exams | Blogs | Photos | Videos | Real Estate | Recipes | Business Directory| TV | Free Wallpapers
+  BinBrain Community
|-+  Computer Forums
| |-+  C and C ++
| | |-+  pointers
« previous next »
Pages: [1] Print
Author Topic: pointers  (Read 940 times)
pakomi
Newbie
*
Posts: 9


« on: July 16, 2008, 01:46:20 AM »

Wts   the advantage  of using  pointer instead of a regular variable?
Logged
tom
Newbie
*
Posts: 3


« Reply #1 on: July 28, 2008, 05:46:35 AM »

1.) Function cannot return more than one value. But when the same function can modify many pointer variables and function as if it is returning more than one variable. 
2.) In the case of arrays, we can decide the size of th array at runtime by allocating the necessary space
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Social Campaigns

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!