Inbound 4328309183199004818
Inbound 4328309183199004818
“SIZEOF”
Questions:
-1
-4
-8
-4
-This header contains definitions for basic data types and macros for working
with memory. It defines the types ptrdiff_t, size_t, wchar_t, etc., and the
macros NULL and offsetof(). In short, it is used for purposes relating to the
memory and basic data types.
Sizeof
-The sizeof operator applied to a type name yields the amount of memory
that can be used by an object of that type, including any internal or trailing
padding. Using the sizeof operator with a fixed-point decimal type results in
the total number of bytes that are occupied by the decimal type.
ES 3 – COMPUTER FUNDAMENTALS AND PROGRAMMING
Pseudo code:
Start
Display the results: “The measurement is: meters meters and kilometers
kilometers”
End
Flow chart:
ES 3 – COMPUTER FUNDAMENTALS AND PROGRAMMING
Pseudo code:
Start
Input centimeters
Repeat
Input choice
If choice == 1 then
Set valid_choice = 1
Set valid_choice = 1
Else
End if
Until valid_choice == 1
End
Flow chart: