Graphic processing unit !!?????!!??!??!?!!?!!?
The answer should have been B, what was the answer?
does it say its deleted if so make a new account and the apps and website put in your email and passwords if not then put in your pass ord and email to get it back what device u have.
Answer:
#include <math.h>
#include <stdio.h>
#include <string.h>
#define BASE 3
#define NRQUESTIONS 15
void toABC(int n, char* buf, int base, int size) {
memset(buf, 'A', size);
buf[size] = 0;
while (n && size) {
buf[--size] = 'A' + (n % base);
n /= base;
}
}
int main()
{
char buf[16];
for (int i = 0; i < pow(BASE, NRQUESTIONS); i++) {
toABC(i, buf, BASE, NRQUESTIONS);
printf("%s\n", buf);
}
}
Explanation:
Assuming 3 is the number of possible answers to choose from for each question.
I tackled this by having an integer counter enumerate all values from 0 to 3^15, and then convert each integer to a base-3 representation, using ABC in stead of 012.
Answer and Explanation:
It is generally seen that instruction are of same length in a machine design. But this is not a good factor for the stack machine as there is the function of push and pop which requires addresses and opcodes for the execution of the arithmetic operation .So, there will be lot of waste of memory space if the length of the instruction are of same .That is why stack machines should not have same length instruction.