what is the difference between
const char *p, char const *p, const char* const p
Answer Posted / singamsa
const char*p - p is pointer to the constant character i.e
value in that address location is constact
char const *p - same as above
const char* const p - p is the constant pointer which
points to the constant string, both value and address are
constants
Is This Answer Correct ? | 115 Yes | 49 No |
Post New Answer View All Answers
What are variables and it what way is it different from constants?
What are structural members?
write a c program in such a way that if we enter the today date the output should be next day's date.
Explain what are header files and explain what are its uses in c programming?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is console in c language?
What is bubble sort in c?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What is the use of clrscr?
How do you use a 'Local Block'?
what is event driven software and what is procedural driven software?
What is c token?
Explain null pointer.
Explain the difference between #include "..." And #include <...> In c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?