c Flashcards
Which level language is C
Middle
C is available in which OS?
DOS, Windows, Unix
Which symbol is used for pre-processor statement?
#
Float is which type of datatype?
Scalar
What is keywords, variables, and constants in C?
Tokens
Which is the valid range of “int” data type?
-32768 to +32767
Which symbol is used to terminate a statement?
;
Which escape sequence character is a line terminator?
\n
Which escape sequence character is used to beep from speaker?
\a
Character constants should be enclosed between
Single Quotes
String constants should be enclosed between
Double Quotes
The maximum length of a variable in C is
8
The maximum size of ‘float’ variable is
4 bytes
The maximum size of ‘double’ variable is
8 bytes
A declaration of float a; double b; occupies ________ of memory.
12 bytes
A declaration float a, b; occupies ___ of memory
8 bytes
The size of a string variable is
a+=10 is an example of__________ assignment statement?
compounded assignment statement
The operator && is used for
Logical comparison
The operator & is used for
Bitwise AND
The equality operator is represented by
==
Operator’s precedence determines which operator is
Evaluated first