C – Type Casting
Type casting is a way to convert a variable from one data type to another data type. For example, if…
Ideas and explainers from across SenseCentral.
Type casting is a way to convert a variable from one data type to another data type. For example, if…
A header file is a file with extension .h which contains C function declarations and macro definitions to be shared between several…
The C Preprocessor is not a part of the compiler, but is a separate step in the compilation process. In simple terms,…
The last chapter explained the standard input and output devices handled by C programming language. This chapter cover how C…
When we say Input, it means to feed some data into a program. An input can be given in the form…
The C programming language provides a keyword called typedef, which you can use to give a type, a new name. Following…
Suppose your C program contains a number of TRUE/FALSE variables grouped in a structure called status, as follows − struct{…
A union is a special data type available in C that allows to store different data types in the same memory location.…
Arrays allow to define type of variables that can hold several data items of the same kind. Similarly structure is another user…
Strings are actually one-dimensional array of characters terminated by a null character ‘\0’. Thus a null-terminated string contains the characters that comprise…