Dremendo Tag Line
t

Print string with double quotes in C++

cout - Question 4

In this question, we will see how to print a string with double quotes in C++ programming using the cout statement. To know more about cout statement click on the cout statement lesson.

Q4) Write a program in C++ to print the name Dremendo with double quotes on the screen.

Example : "Dremendo"

Program

#include <iostream>
#include <conio.h>

using namespace std;

int main()
{
    cout<<"\"Dremendo\"";
    return 0;
}

Output

"Dremendo"
video-poster