Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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;
}
 
PREVIOUS NEXT
Tagged: #convert #ascii #char #cpp
ADD COMMENT
Topic
Name
1+9 =