const char *
char * const
What is the differnce between the above tow?.
Answer Posted / kamaljit singh
in the first case it is pointer to a constant (i.e the
address can be changed ,where as the content/value in that
address cannot be changed).
In the later case it is a constant pointer (i.e the address
cannot be changed ,where as the content/value in that
address can be changed).
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is sizeof array?
What is the function of volatile in c language?
What is the use of linkage in c language?
Write a program to check palindrome number in c programming?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What is c basic?
write a c program in such a way that if we enter the today date the output should be next day's date.
Why array is used in c?
What do mean by network ?
What is assignment operator?
When is a null pointer used?
What is the difference between mpi and openmp?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Why do we use main function?
Explain what is page thrashing?