Category Archives: C

C Basic

Pre processor directive: Following line can be used to call pre processor directive in a program. #include <> Data type in c: Data Type Memory in bytes Format specifier short int 2 %hd unsigned short int 2 %hu unsigned int … Continue reading

Posted in C | Leave a comment

C coding in Linux

To compile a code written in C we can use GCC. If GCC is not installed install GCC first and then use following command to compile a C code:  gcc RandomNumber.c -o RandomNumber To run a c code use following … Continue reading

Posted in C | Tagged , , , , | Leave a comment