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
The Best fit algorithm: The best fit method occurs the smallest free block whose size is greater than or equivalent to n. An algorithm to get such a block by traversing the whole

coloring of elements in matrix form inm particular matrix.the color should not match with another color.

Consider the following example: int max(int x, int y)                  {                                 return ( x > y) ? x : y ;                  }   float max

Program to find a Greatest String: C - Program: Write a program find largest string by c program. int main( int argc, char *argv[] ) {     if( argc         {

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

give a program to accept and print 2_D Array

how can i make a program with !(not) operator

I need to make a fractal trees in OpenGL C++ . The method used is to write a recursive function with cylinders of different sizes and angles to create the tree trunk and branches.

Explain the Function Prototype? The Functions must be declared before they are used, ANSI C provides for the new function declaration syntax called as the function prototype,

who to write max if statements in a program