int x=4;
char c=(char)x;
it would not print '4' on screen. It would display the ASCII corresponding value of '4'.
I tried this way...
int x=48;
string str =x.ToString();
char c=str[0];//for printing 4;
char c1=str[1];// for printing 8;
Subscribe to:
Post Comments (Atom)
Call a function in child component from parent component in React
Consider the following parent component class Parent extends React.Component { constructor(props) { super(props); thi...
-
Web Application:Any application which we can run in our web browser is a web application. Web Service:A web service is an Application Prog...
-
Amazon cloudfront offers a simple cost effective way to improve the performance, reliability and global reach of your entire website for s...
-
p5.js is a JavaScript library which can be used by artists,designers,educators and beginners who want to code. Using p5.js we have a full se...
No comments:
Post a Comment