What is the difference between Char a[ ]=”string” and char
*a=”String”
Answer Posted / niranjan kumar niraj
char a[]="string" returns characters and char *a[]="String"
returns address of character
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What is the exit function in c++?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
Differentiate between a constructor and a destructor in c++.
Explain one method to process an entire string as one unit?
Explain about Virtual Function in C++?
What is java and c++?
Explain what are accessor methods?
What are the steps in the development cycle?
Is dev c++ a good compiler?
What is the difference between the parameter to a template and the parameter to a function?
Explain the uses oof nested class?
Is vector a class in c++?
How do you flush std cout?
Why do we use classes in programming?
What will happen if a pointer is deleted twice?