Skip to main content

Search This Blog

matrix multiplication in c using functions and pointers

 #include <stdio.h> #define ROWS 3 #define COLS 3 void matrixMultiply(int *mat1, int *mat2, int *result, int rows1, int cols1, int cols2) {     int i, j, k;     // Multiplying matrices     for (i = 0; i < rows1; i++) {         for (j = 0; j < cols2; j++) {             *(result + i * cols2 + j) = 0;             for (k = 0; k < cols1; k++) {                 *(result + i * cols2 + j) += *(mat1 + i * cols1 + k) * *(mat2 + k * cols2 + j);             }         }     } } void displayMatrix(int *mat, int rows, int cols) {     int i, j;     // Displaying matrix     for (i = 0; i < rows; i++) {         for (j = 0; j < cols; j++) {             printf("%d\t", *(mat + i * cols + j)); ...

Here you get a leave from the office to have a physical relationship, know why the government has made this unique rule

Here you get a leave from the office to have a physical relationship, know why the government has made this unique rule 

There is an official holiday for having a physical relationship, are you surprised to read the headline? But this is true. There is a country where people get leave to have physical relationship. Let us tell about that country and what is the reason behind it.

Relationship Desk. The meeting of two hearts or the establishment of a physical relationship between them is a moment. Why would a leave be given for this? But you will find it strange to know that there is a country where the government has made a provision of leave for this. People get leave from office to have sex. The name of that country is Denmark. Yes, this facility has been given to the people in this country.

Actually, the decreasing population of Denmark has been a matter of concern for the government there. From time to time, the government there runs such campaigns. Due to which people get the feeling of having a child. That's why people are given leave from the office to make connections. The Danish government has asked citizens to have as many children as possible. The government says that taking advantage of these holidays, people should have more and more sex.


Due to the low population rate, the government is running such a campaign.


Denmark's population will increase in the next 10 years


Decreasing population is a matter of concern for the government here. After running several campaigns, the government believes that the population should cross the six million mark for the first time within the next ten years. These projections assume that the annual growth rate will drop from 0.38% in 2020 to 0.19% by 2050. During the same period Denmark's population is expected to grow to 5,796,800 in 2020, 6,024,516 in 2030, 6,192,283 in 2040 and 6,314,402 by 2050.

Comments

Contact Form

Name

Email *

Message *