ExamTray App is now Available on Google Play EXAMTRAY android app link

 

last minute c examtray

TUTORIALS
TUTORIALS
TUTORIALS

Last Minute C Programming Preprocessor Directives Tutorial

c preprocessor directives types infographic image

A Preprocessor in a C programming language is a Program that processes source code of a C program, expanding Macro Definitions, File Inclusions and more.

Only through Preprocessor directives, you are able to include library files in your C program.

Preprocessing in C happens before compilation. Part of the Source code is replaced with Preprocessing expressions where ever encountered. So the size of Total code increases before passing to the Compiler.

TUTORIALS

Last Minute C Programming Format Specifiers and Console IO Tutorial

c format specifiers console io tutorial

C Programming language provides Console IO functions and Format Specifiers to help programmers Read and Write data.

C Format Specifiers and Console IO Functions

There are two types of Input Output Functions.

  1. Console IO
  2. File IO

1. Console IO functions help to read data from Keyboard and Print / Display data to the Monitor.

2. File IO functions help to read data from Files on Disk and Write data to the Disk.

TUTORIALS
TUTORIALS

Last Minute C Programming Strings Char Arrays Tutorial

c string char arrays tutorial

String is just like an array of elements of character (char) data type. Every valid string in c programming language must end with a NULL character or '\0'. ASCII value of a NULL character is 48. Without null character at the end, array is just an array of characters but not STRING.

C Strings and Character Arrays

C language provide 'char' data type to hold Alphabets and Special characters. Size of a single character is 1 Byte.

TUTORIALS
TUTORIALS
TUTORIALS
TUTORIALS