A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically.
Answer:
in computer science, an instruction is a single operation of a processor defined by the instruction set
Explanation:
if you need anymore help let me know :)
Answer:
HTML Tags: <input/>, <canvas></canvas>, <div></div>
CSS Attributes: padding, font-family, margin
Explanation:
Answer:
00100110
a and d are invalid sequences because they contain an even number of 1's.
Explanation:
Odd parity means that you want an odd number of 1's in the resulting set of bits. Since there are 3 (=odd) bits in the set, a zero must be added to keep the total odd.
In C, you deal with a string always via a pointer. The pointer by itself will not allocate memory for you, so you'll have to take care of that.
When you write char* s = "Hello world"; s will point to a "Hello world" buffer compiled into your code, called a string literal.
If you want to make a copy of that string, you'll have to provide a buffer, either through a char array or a malloc'ed bit of memory:
char myCopy[100];
strcpy(myCopy, s);
or
char *myCopy;
myCopy = (char*)malloc( strlen(s) + 1 );
strcpy(myCopy, s);
The malloc'ed memory will have to be returned to the runtime at some point, otherwise you have a memory leak. The char array will live on the stack, and will be automatically discarded.
Not sure what else to write here to help you...