Answers for "Explicit conversion casting"

C++
0

Explicit conversion casting

short a=2000;
int b;
b = (int) a;    // c-like cast notation
b = int (a);    // functional notation
Posted by: Guest on November-03-2021

Browse Popular Code Answers by Language