const char *
char * const
What is the differnce between the above tow?.
Answer Posted / bava
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 ? | 10 Yes | 1 No |
Post New Answer View All Answers
Tell me when would you use a pointer to a function?
What is meant by recursion?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What are header files in c programming?
what is the difference between class and unio?
Where define directive used?
Explain the concept and use of type void.
How can I find the modification date of a file?
Difference between macros and inline functions? Can a function be forced as inline?
How do you use a 'Local Block'?
Explain the use of function toupper() with and example code?
Explain what does the format %10.2 mean when included in a printf statement?
What is array in C
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
How can I make sure that my program is the only one accessing a file?