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
Q:  Tells the operators one can override; which operators should he override? A: Bottom line: don't puzzle your users. Remember the reason of operator overloading: to decreas


flow chart for push operation in stack

Explain the Bit Wise Operations? C language in particular was created to make it easier to write operating systems. The objective was to have a language that provided excellent


Precedence and Order of evaluation The languages follow a standard precedence for basic operators. Precedence rules help in deleting ambiguity of the order of operations perfor


Define Bitwise Left Shift and Right Shift Operators: >? The bitwise shift operators shift their first operand right (>>) or left ( // Illustration of the bitwise right shi

Working Ordered linked list: • Eachinteger in the queue is stored inside of a QueueItem. The QueueItem contains the integer, and a pointer to the next item in the queue. Fo

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b