Double quotation marks are used to enclose string literals in C++. String literals are sequences of characters, enclosed within double quotation marks, that represent a string value.
Example code:
// Example of using double quotation marks for string literals
#include <iostream>
using namespace std;
int main() {
string message = "Hello, world!";
cout << message << endl;
return 0;
}