1#include <iostream>
2using namespace std;
3int main() {
4 char grade = 'B';
5 cout << "I scored a: "<<grade;
6 return 0;
7}
8
1#include <iostream>
2using namespace std;
3
4int main()
5{
6 char* name = "Raj"; //can store a sequence of characters.
7 const char* school = "oxford";
8 //school[0] = 'O'; //gives runtime error. We can't modify it.
9 cout << name<<" "<<school;
10
11 return 0;
12}