wats the diference btwen constant pointer and pointer to a
constant.pls give examples.

Answer Posted / satish

char * const p; ->it is const pointer to char
const char * p; ->it is pointer to const char

Is This Answer Correct ?    29 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

742


What are the scope of static variables?

608


Explain how do you use a pointer to a function?

642


explain what is fifo?

639


Explain the advantages and disadvantages of macros.

631






Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

660


what is the height of tree if leaf node is at level 3. please explain

1604


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

627


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2991


How do I convert a string to all upper or lower case?

633


What are 3 types of structures?

596


Explain how do you declare an array that will hold more than 64kb of data?

908


What does char * * argv mean in c?

627


write an algorithm to display a square matrix.

2229


Why clrscr is used in c?

593