Answer: my test says line graph soooo….
Explanation: if its what the test says
Answer:
MYSTRUCT myStruct[8]; // statemnt to create an array of struct variables
myStruct[3].buf[4] // statement to access the fourth element of the array of the struct variables.
struct * MYSPTR = &myStruct; // This statement creates a pointer.
To dereference and access the S variable of the struct data structure in the array;
(*MYSPTR).S and its shorthand notation MYSPTR -> S
Explanation:
A structure is a data structure in C language that is used to hold descriptive data of an object. The keyword struct is used to create the structure. An array of struct holds instances of a struct variable, where each struct can be accessed using the regular array indexing and the variables of the structs in the array can be accessed using dot notation.
Answer:RISC(reduced instruction set computer) is the computer used for low level operation by simple command splited into numerous instructions in single clock only and CISC(Complex instruction set computer) is the computer that performs the operation in single instruction.
RISC architecture has hardwired control unit,data cache unit,data path ,instruction cache and main memory as components .CISC architecture persist of control unit,micro program control memory, cache, instruction and data path and main memory.
The differences between RISC and CISC are as follows:-
- The instruction in RISC are less and and low complexes while CISC has several number of complex instruction.
- The calculation done by RISC are precise and quick whereas CISC has slightly slow calculation processing.
- The execution of RISC is faster as compared to CISC.
- RISC uses hardware component for implementation of instruction because it does not persist its own memory and CISC implements instructions using its own memory unit .