What is the char() type in C++?

Viewed 398

I have compiled and run the following code snippets in GCC compiler. It's successfully worked.

#include <iostream>
using namespace std;

int main()
{
    char ch = char('A'); 
    cout<<ch<<endl;
    return 0;
}

Output:

A

So, Is char() build-in type function or system call?

2 Answers
Related