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

Data Types in C

Each variable in C has an associated data type. Each data type requires different amounts of memory and has some specific operations which can be performed over it. ...
C C++ cpp-data-types

What is the size_t data type in C?

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...
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-Data Types C

Type Conversion in C

A type cast is basically a conversion from one type to another. There are two types of type conversion: Implicit Type Conversion Also known as ‘automatic typ...
C C++ cpp-data-types

Is there any need of “long” data type in C and C++?

In C and C++, there are four different data type available for holding the integers i.e., short, int, long and long long. Each of these data type requires different a...
C GFacts C-Input and Output Quiz

What is return type of getchar(), fgetc() and getc() ?

In C, return type of getchar(), fgetc() and getc() is int (not char). So it is recommended to assign the returned values of these functions to an integer type variab...

C Data Types

12 C Data Types Please wait while the activity loads. If this activity does not load, try re...

C Storage Classes and Type Qualifiers

1234 C Storage Classes and Type Qualifiers Please wait while the activity loads. If this act...
C C-Macro & Preprocessor C

typedef versus #define in C

typedef : typedef is used to give data type a new name, for example // C program to demonstrate typedef #include <stdio.h>    // After thi...
C C Array and String cpp-array

What are the data types for which it is not possible to create an array?

In C, it is possible to have array of all types except following. 1) void. 2) functions. For example, below program throws compiler error int main() { void arr[10...

Subscribe to Our Newsletter