Sponsored Links


Results 1 to 2 of 2

Thread: why we use pointers or reference except using real name of var. what is buffer point

  1. #1
    Senior Member saneha's Avatar
    Join Date
    Apr 2011
    Posts
    266

    11 why we use pointers or reference except using real name of var. what is buffer point

    Sponsored Links1



  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    1. The purpose of returning 0 is that the program is successfully executed without any errors.

    2. Buffer pointer points to buffer, buffer is a memory location that is used to hold the data temporarily, while moving data from one location to another location. Where in lecture 20 bufferPtr is a pointer of character data type.

    3. A pointer is a variable containing the address of another variable. A variable is just a labeled place to store some data. The reason is that pointers are used to include some vital features in c/c++ which are missing from the original language: arrays, strings, & writeable function parameters. They can also be used to optimize a program to run faster or use less memory that it would otherwise.

    4. The strlen, itoa and strcpy are predefined functions. Strlen function finds the length of a string. Itoa function converts integer to string. Strcpy function copies the string.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 05-02-2011, 06:05 PM
  2. what is Buffer in c++ 2011
    By saneha in forum C++ Programing
    Replies: 1
    Last Post: 05-02-2011, 04:54 PM
  3. Pointers in c++ 2011
    By saneha in forum C++ Programing
    Replies: 1
    Last Post: 05-02-2011, 06:30 AM
  4. what is buffer ptr and char* in c ++ 2011 ?
    By saneha in forum C++ Programing
    Replies: 1
    Last Post: 04-29-2011, 08:45 AM
  5. Replies: 1
    Last Post: 04-29-2011, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft | Jobs