Consider the following two definitions of main().
While writing a program, sometimes we give comment about the working of the code in the comment section with the help of single/double comment line. But we had never ...
A token is the smallest element of a program that is meaningful to the compiler. Tokens can be classified as follows:
In a C program, all lines that start with # are processed by preprocessor which is a special program invoked by the compiler. In a very basic term, preprocessor takes a C program and pro...
There are many different ways to make the variable as constant
Using const keyword: The const keyword specifies that a variable or object value is constant and can&...
Consider the below two programs:
// Program 1
int x = 5;
Some data types like char , short int take less number of bytes than int, these data types are automatically promoted to int or unsigned int when an operation is per...
size_t is an unsigned integral data type which is defined in various header files such as:
<stddef.h>, <stdio.h>, <stdlib.h>, <string.h...
Predict the output of following C program.
float x = 0.1;
if (x == 0...
Here are some logical and interesting facts about data-types and the modifiers associated with data-types:-
1. If no data type is given to a variable, then the compil...