Flashcards
lexical Elements, Operators and the C system
Cards in this deck (10)
- 1What is the compilation process1. C program is written
2. Characters are grouped into tokens
3. Tokens are translated to target code - 2What are the six Tokens1.Keywords
2.Identifiers
3.Constants
4.String Constants
5. Operators
6. Punctuators - 3A syntactical unit isa Token
- 4A token composed of letters,digits and an underscore is calledAn Identifier
- 5Identifiers ::={letter|Underscore} or{letter|underscore|digit}
- 6Character Constants are written between what ?Single Quotes
- 7'a','b' ,'+'. are examples ofa Character constant
- 8String Constants are written between what ?Double Quotes
- 9The expression (++i) causes thestored value of i to be incremented first before the expression takes on new value
- 10The expression (i++) causes thevalue of i to be incremented after stored value has been stored
Information
- Description
- 1 CIS 158 Flashcards on lexical Elements, Operators and the C system, created by Abe Moore on 29/11/2015.
- Created by
- Abe Moore · Nov 2015
- Updated
- Mar 10, 2016
- Views
- 0
- Rating
More on Data Types, Variables and Operators