const char *
char * const
What is the differnce between the above tow?.

Answer Posted / lokesh143

In first case address is constant
later case value is constant

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by dynamic memory allocation in c? What functions are used?

650


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2215


Explain how do you print only part of a string?

646


What is the size of array float a(10)?

651


What is the purpose of macro in C language?

659






Subtract Two Number Without Using Subtraction Operator

351


How can I read a binary data file properly?

631


What is p in text message?

536


Write a program to reverse a given number in c language?

616


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

634


Can 'this' pointer by used in the constructor?

608


How many levels deep can include files be nested?

646


Write a code to generate a series where the next element is the sum of last k terms.

730


What is break statement?

629


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9651