const char *
char * const
What is the differnce between the above tow?.
Answer Posted / kamaljit singh
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 ? | 3 Yes | 0 No |
Post New Answer View All Answers
Where define directive used?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Can we change the value of #define in c?
Explain what does the function toupper() do?
Explain the difference between structs and unions in c?
What is #pragma statements?
Write a program to print factorial of given number using recursion?
The __________ attribute is used to announce variables based on definitions of columns in a table?
What is the use of gets and puts?
Explain how can I prevent another program from modifying part of a file that I am modifying?
What are the application of c?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
How do you construct an increment statement or decrement statement in C?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Describe static function with its usage?