what is the difference between
const char *p, char const *p, const char* const p
Answer Posted / vignesh1988i
CONST char *p:
here the const. keyword is coming before the data
type... so the string here will be the constant but not he
pointer...
char CONST *p:
here also the string will be the constant but not the
pointer...
CONST char* CONST p:
here both , the string as well the pointer will be constant
| Is This Answer Correct ? | 64 Yes | 32 No |
Post New Answer View All Answers
Can you please explain the difference between strcpy() and memcpy() function?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
Explain what is meant by 'bit masking'?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Explain high-order bytes.
which is an algorithm for sorting in a growing Lexicographic order
Why do we need functions in c?
Explain the use of 'auto' keyword
Can you pass an entire structure to functions?
What are the types of pointers in c?
Are pointers really faster than arrays?
FILE PROGRAMMING
Explain Basic concepts of C language?
Explain how does free() know explain how much memory to release?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions