Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C Tutorial
Data Type 87 codes
Home
C Tutorial
Data Type
1 %6f limits the output to only six digits
2 %e displays numbers in scientific format
3 %g displays a floating-point number in either the %f or %e (scientific) format, depending on which is shorter
4 All letters of the alphabet, symbols, and number keys on the keyboard have ASCII codes
5 ASCII Table
6 Assignment of an integer expression to a floating-point variable
7 Bits right and left shift
8 C Numeric Data Types
9 C provides two main floating-point representations
10 Characters and numbers
11 Checking for Upper- and Lowercase
12 Compare char variable in if statement
13 Compare characters to characters in if statement
14 Comparing the equality operator (==) with the = assignment operator
15 Constants
16 Constants and Variables with macro
17 Converting uppercase to lowercase
18 Data type cast
19 Data type char are stored internally as integers
20 Define constant float value using const
21 Define escape sequence in a char
22 Define float constant value using Macro
23 Define float in In scientific notation (The E notation)
24 Define float variable and output to the console
25 Define variables of the type integer
26 Display the ASCII characters and their corresponding codes, from Code 32 on up to Code 127
27 Displaying Character Data Types with printf
28 Displaying Floating-Point Data Types with printf
29 Displaying Integer Data Types with printf
30 Divide Integer
31 Division with float values
32 Do a calculation on float number
33 Each 1 or 0 is called a bit
34 Escape sequences
35 Float family (real numbers with decimal points)
36 Floating Point variables
37 For printing double you can use %lf
38 Forced conversion
39 Formats for representing floating points
40 Get maximum and minimum values of data type
41 Get size and address for a double
42 Get size and address for long integer
43 Hexadecimal numbers
44 If both operands i1 and i2 are integers, the expression i1i2 provides integer division
45 In C, the value nonzero is true while zero is taken as false
46 Integer data type storage allocations
47 Integer family
48 Introduction to Data Types
49 Multiple declarations
50 Octal numbers
51 Output both value in a union
52 Overflow in char and unsigned char data types
53 Printing an unsigned integer in bits
54 Printing floating-point numbers with floating-point conversion specifiers
55 Printing integers right-justified
56 Printing strings and characters
57 Read float number and do a calculation
58 Reading and Writing Single Characters
59 Reading characters and strings
60 Reading floating-point numbers
61 Reading integers
62 Register variable
63 Save Tab key into a char, you use an escape sequence
64 Signed and Unsigned Variables
65 Simple calculations
66 Sum the integers from 1 to a user-specified number
67 The atoi() function
68 The form of a floating-point declaration
69 The getchar() function
70 The putchar() function
71 To create precision with floating-point numbers
72 To test two expressions for equality, use == instead of =
73 Type casting
74 Type conversion
75 Union
76 Use sscanf to get and then double a number from the user
77 Use the %E in printf() to display scientific-notation numbers
78 Use the format %f for printing floating numbers
79 Use unsigned variables
80 Using an enumeration type
81 Using functions isdigit, isalpha, isalnum, and isxdigit
82 Using functions islower, isupper, tolower, toupper
83 Using functions isspace, iscntrl, ispunct, isprint, isgraph
84 Using the integer conversion specifiers
85 Using type char
86 What is a data type
87 Working with complex numbers