Expressions
Gapfill exercise
Enter your answers in the gaps. When you have entered all the answers, click on the "Check" button.
What is Getch C?
getch() is a way to get a user inputted
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
. It can be used to hold program
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
, but the "
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
" is simply a side-effect of its primary purpose, which is to wait until the user enters a character.
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
() and
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
() are used to read a character from screen.
What is %d in C called?
%d is used to
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
the output in C
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
language. If we want to print an integer, we use %d. It is called a format
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
. ... “%d” within format string in
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
, for instance, denotes that the format of the input is
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
( decimal integer).
What is conio h in C?
h is a C header file used mostly by MS-DOS compilers to provide
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
input/output. It is not part of the C standard
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
or ISO C, nor is it defined by
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
. This header declares several useful library functions for performing "
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
input and output" from a
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
.
What does #define do in C?
In the C Programming Language, the #define
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
allows the definition of macros within your
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
code. ...
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
definitions are not variables and cannot be changed by your program code like variables. You generally use this syntax when creating
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
that represent numbers, strings or expressions.
What is enum in C?
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
is a user defined datatype in C
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
. It is used to assign names to the
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
constants which makes a program easy to
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
and maintain. The keyword “
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
” is used to declare an
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
. ... The
character
console
constants
directive
enum
Enumeration
execution
format
getch
getchar
holding
integral
language
library
Macro
numeric
POSIX
program
programming
read
scanf
source
specifier
keyword is also used to define the variables of enum type.
Check
OK