What is the difference among const char *mypointer &char *, C/C++ Programming

What is the difference among const char *myPointer and char *const myPointer?

 A: Const char *myPointer is a non constant pointer to constant data; whereas char *const myPointer is a constant pointer to non constant data.


Posted Date: 3/19/2013 9:03:18 AM | Location : United States

Related Discussions:- What is the difference among const char *mypointer &char *, Assignment Help, Ask Question on What is the difference among const char *mypointer &char *, Get Answer, Expert's Help, What is the difference among const char *mypointer &char * Discussions

Write discussion on What is the difference among const char *mypointer &char *
Your posts are moderated
Related Questions
What about Virtual Destructor? describe it.

how to make the coding

Write a program called Series that will print/display a series of numbers starting with 1 and ending with the last number that is less than 30. The series should include only odd n

Conversion between Objects of Different Classes As the compiler does not know anything about the user-defined type, the conversion instructions are to be specified in a functio

What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than a

What is Namespace and Explicit container Namespace - Namespaces are used to group entities such as objects, classes and functions under a name. Explicit container.

c program to construct a structure: struct sensus                 {                                 char name[30];                                 long int population;

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Ask question #Minimum 100 write an algorithm to calculate simple interest and compound interestwords accepted#

Project Description: collect / modify person records / photo images/ lookup / facebook iphone and ipad App basic function : 1 user will configure facebook connection