Difference between const char* p and char const* p?
There is no difference between const char *p and char const *p as both are pointer to a const char and position of '*'(asterik) is also same. 2. char *const ptr : This is a constant pointer to non-constant character. You cannot change the pointer p, but can change the value pointed by ptr.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you please explain the difference between static and dynamic binding of functions?
Explain selection sorting. Also write an example.
Describe public access specifiers?
Why preincrement operator is faster than postincrement?
What is the full form of ios?
If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];
Differentiate between realloc() and free().
Should the this pointer can be used in the constructor?
If a function doesn’t return a value, how do you declare the function?
How static variables and local variablesare similar and dissimilar?
What is a loop? What are different types of loops in c++?
What are smart pointer? Whats its use?