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
I am seeking an expert to create a 360 degree virtual tour in KRPano for use on PCs, tablets and smartphones. You will be given with panoramas in order to create an advanced KRPano

Binary logical bit-wise operators  There are three logical bit-wise operators :                   &             and                 |              or

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

A student apears in exam of math, physics, and chemistry. Write a program to find the total marks aa student has aqueired find the average.

I need to program a microprocessor that would have a temperature, gas, humidity and PIR sensor connected to it. It would send the data to a PC via a Zigbee and receive commands fro

C++ improves on many of C's features and provides object-oriented programming capabilities used for software production, quality and reusability. C++ was developed by Bjarne Strons

Homework – Chapter 5 – Bowling Scores 33. Write a complete C++ program to do the following: The main program reads in and prints three bowling scores, score1, score2, and score

#questionAt a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets

In this project, you will write a software for the Registrar's office of a university called YouOIT to maintain information about students and courses at the university. The reg

w.a.p to find outWrite 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.