foo.cc: In function ‘int main()’:
foo.cc:15:10: error: too few arguments to function ‘ssize_t write(int, const void*, size_t)’
15 | write(j);
| ~~~~~^~~
In file included from /nix/glibc-2.40-66-dev/include/bits/sigstksz.h:24,
from /nix/glibc-2.40-66-dev/include/signal.h:328,
from /nix/gcc-14.2.1.20250322/include/c++/14.2.1.20250322/csignal:42,
from stdc++.h:116:
/nix/glibc-2.40-66-dev/include/unistd.h:378:16: note: declared here
378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
| ^~~~~
foo.cc:6:23: warning: unused variable ‘c’ [-Wunused-variable]
6 | long long int a,b,c,d=0;
| ^