C++ Basic Data types
Submissions: 3088   Accuracy:

16.56%

  Difficulty: Basic
         

Write a program to display the sizes of basic four datatypes i.e integer, double, float, character.

Input:
The first line of input contains integer T denoting the number of test cases. For each test case, the user can input any of the above data types.  

Output:
For each test case, there is a single line output displaying the size of that data type.

Constraints:
1<=T<=100

Example:
Input:

4
1
@
7.98
9.985647851
Output:
4
1
4
8

** For More Input/Output Examples Use 'Expected Output' option **

Contributor: Vanshika
Author: Vanshika_pec


Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.