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
Explain one-definition rule (odr).
Explain how functions are classified in C++ ?
What is a character in c++?
Which bit wise operator is suitable for turning off a particular bit in a number?
What is basic if statement syntax?
What is one dimensional array in c++?
Write a program which employs Recursion
What is the difference between *p++ and (*p)++ ?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What is microsoft c++ redistributable?
What are the various operations performed on stack?
Implement stack operations with pointers with appropriate exception checks.
How many static variables are created if you put one static member into a template class definition?
Why is c++ awesome?
What c++ library is string in?