10. What is the difference between a, 'a' and "a" in C++?
Answers
Answered by
18
Answer:
Difference between Structure and Union in C. A structure is a user-defined data type available in C that allows to combining data items of different kinds. Structures are used to represent a record. A union is a special data type available in C that allows storing different data types in the same memory location.
Hope it helps....
Answered by
2
Difference between 'a' and "a" in c++
- it's of type char, with value 97 on most systems. " a " is a const char [ 2 ] and refers to an array of 2 char with values ' a' and " \0 ". ... The first prints a single character value. The second successively print all the characters of a string except for the terminating ' \0 '.
Similar questions
English,
6 months ago
English,
6 months ago
Social Sciences,
6 months ago
Science,
1 year ago
Physics,
1 year ago