What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / rajesh kumar
char *p="string" has RO permission while its counterpart char a[]="string" has RW permission.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a node class in c++?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What are the rules about using an underscore in a c++ identifier?
What are the operators in c++?
What is :: operator in c++?
What are punctuators in c++?
What is setw manipulator in c++?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What is basic if statement syntax?
What is abstraction in c++?
Explain container class.
Does c++ have a hash table?
Write is a binary search tree? Write an algo and tell complexity?
How to implement is-a and has-a class relationships?
Is it possible to get the source code back from binary file?