const char *
char * const
What is the differnce between the above tow?.
Answer Posted / subbu
answer is opposite to above answer
first case is constant pointer means that the address which
is assigned at the time of decalaration can not be changed
yet.
in the second case it is pointer to a constant, means the
value stored at that particular address cannot be changed
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
the question is that what you have been doing all these periods (one year gap)
What is the general form of a C program?
What are structure types in C?
How are strings stored in c?
how many key words availabel in c a) 28 b) 31 c) 32
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What is class and object in c?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is pointer & why it is used?
How will you delete a node in DLL?
What is c standard library?
What do mean by network ?
What does the error message "DGROUP exceeds 64K" mean?