Answer:
To do this you'll need to use malloc to assign memory to the pointers used. You'll also need to use free to unassign that memory at the end of the program using the free. Both of these are in stdlib.h.
#include <stdlib.h>
#include <stdio.h>
#define SIZE_X 3
#define SIZE_Y 4
int main(void){
int **matrix, i, j;
// allocate the memory
matrix = (int**)malloc(SIZE_X * sizeof(int*));
for(i = 0; i < SIZE_X; i++){
matrix[i] = (int *)malloc(SIZE_Y * sizeof(int));
}
// assign the values
for(i = 0; i < SIZE_X; i++){
for(j = 0; j < SIZE_Y; j++){
matrix[i][j] = SIZE_Y * i + j + 1;
}
}
// print it out
for(i = 0; i < SIZE_X; i++){
for(j = 0; j < SIZE_X; j++){
printf("%d, %d: %d\n", i, j, matrix[i][j]);
}
}
// free the memory
for(i = 0; i < SIZE_X; i++){
free(matrix[i]);
}
free(matrix);
return 0;
}
Among the following option B. Ignoring new idea will not be considered in improved performance planning.
<h3>What is buisiness performance planning?</h3>
Performance planning is the term used to describe a <em>company's systematic process for determining and preparing an individual's or organization's goals</em>, as well as the most effective means of achieving them. Both <em>the company and the employee</em> participate in the planning process through a formal plan called the development plan.
A company must successfully utilize new ideas in order to <em>advance its operations, introduce fresh goods and services to the market, boost productivity, and, most significantly, raise profits.</em>
<em />
So, new ideas must not be ignored .
Learn more about buisiness performance planning here brainly.com/question/25922327
#SPJ10
No it is not a good idea, it shouldn’t
be memberwise assignment NOT be used when an object contains a pointer to
dynamically allocated memory. Class members are private by
default, the following describes a class that would be a good candidate
for conversion to a template class is a class which defines a new type of array.
Answer:you see the answer is a FOR LOOP I just took this practice exam
Explanation:
Mark brainpower?