Answers for "c++ string to ascii"

C++
0

how to convert ascii to char in cpp

#include<bits/stdc++.h>
using namespace std;
int main(){
  char a=char(97); //ascii value of a
  cout<<a;
}
Posted by: Guest on August-15-2021

Browse Popular Code Answers by Language