Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C Basics C-Data Types

int (1 sign bit + 31 data bits) keyword in C

In C programming language a most common keyword ‘int’ is used to define any positive or negative integer. But there is a difference between an integer a...
C C Basics C

C Language Introduction

C is a procedural programming language. It was initially developed by Dennis Ritchie between 1969 and 1973. It was mainly developed as a system programming language ...
C C++ C Basics

Difference between “int main()” and “int main(void)” in C/C++?

Consider the following two definitions of main(). int main() {    /*  */    return 0; } and int main...
C C Basics cpp-macros

Interesting Facts about Macros and Preprocessors in C

  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...
C C-Variable Declaration and Scope C

Internal Linkage and External Linkage in C

It is often quite hard to distinguish between scope and linkage, and the roles they play. This article focuses on scope and linkage, and how they are used in C langua...
C C-Data Types cpp-data-types

Integer Promotions in C

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...
C C++ cpp-data-types

Interesting facts about data-types and modifiers in C/C++

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...
C C-Storage Classes and Type Qualifiers C

Understanding “volatile” qualifier in C Set 1 (Introduction)

In spite of tons of literature on C language, “volatile” keyword is somehow not understood well (even by experienced C programmers). We think that the m...
C C-Input and Output Quiz C

What is use of %n in printf() ?

In C printf(), %n is a special format specifier which instead of printing something causes printf() to load the variable pointed by the corresponding argument with a...
C C-Input and Output Quiz c-puzzle

How to print % using printf()?

Asked by Tanuj Here is the standard prototype of printf function in C. int printf(const char *format, ...); The format string is composed of zero or more ...

Subscribe to Our Newsletter