| Hosted by CoCalc | Download
Kernel: ROOT (root.cern.ch)

This is an example of the ROOT Jupyter kernel.

See https://root.cern.ch/root/htmldoc/guides/primer/ROOTPrimerLetter.pdf

printf("Hello world")
Hello world(int) 11
1+1
(int) 2
int foo(int a, int b) { return a*b; }
foo(45,89)
(int) 4005
foo(1292034802384, 120938023840823482)
(int) -6255840
input_line_41:2:6: warning: implicit conversion from 'long' to 'int' changes value from 1292034802384 to -750353712 [-Wconstant-conversion] foo(1292034802384, 120938023840823482) ~~~ ^~~~~~~~~~~~~ input_line_41:2:21: warning: implicit conversion from 'long' to 'int' changes value from 120938023840823482 to -287393606 [-Wconstant-conversion] foo(1292034802384, 120938023840823482) ~~~ ^~~~~~~~~~~~~~~~~~