I have compiled and run the following code snippets in G++
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?
Aucun commentaire:
Enregistrer un commentaire