i have read that we can use both c and c++ typecasting in c++
but in code
int i;
long int k;
k=(long int)i*i;//Does not work for long int(i)*i c++ style typecast

and in
cout(&(i));//Does not work for cout((&)i) c style typecasting