Refer the url to install the C compiler in Ubuntu OS.
https://linuxconfig.org/how-to-install-gcc-the-c-compiler-on-ubuntu-18-04-bionic-beaver-linux
After installing the compiler, open terminal and write the command: gcc –version
Do not want to install any software. Still can i write C programming?
If you do not want to install C compiler, But still wanted to explore C programming, then you can use the online C compiler. Many websites provides utility to write C Program on their platforms. Try google: Online C program You will get lot of websites, there you can try C programming.