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 |
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
What is DlgProc?
Is nan a c++?
State the difference between delete and delete[].
Copy Linked List using recursive function?
diff between pointer and reference in c++?
How does atoi function work?
What is the difference between prefix and postfix versions of operator++()?
Mention the purpose of istream class?
What is cloning?
What is a try block?
class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected