Wiki is the correct answer
Answer:
Check the explanation
Explanation:
#define _MULTI_THREADED
#include <pthread.h>
#include <stdio.h>
#include <errno.h>
#define THREADS 2
int i=1,j,k,l;
int argcG;
char *argvG[1000];
void *threadfunc(void *parm)
{
int *num;
num=(int*)parm;
while(1)
{
if(i>=argcG)
break;
if(*num ==1)
if(argvG[i][0]=='a' ||argvG[i][0]=='2'||argvG[i][0]=='i' ||argvG[i][0]=='o' ||argvG[i][0]=='u')
{
printf("%s\n",argvG[i]);
i++;
continue;
}
if(*num ==2)
if(!(argvG[i][0]=='a' ||argvG[i][0]=='2'||argvG[i][0]=='i' ||argvG[i][0]=='o' ||argvG[i][0]=='u'))
{
printf("%s\n",argvG[i]);
i++;
continue;
}
sched_yield();
}
return NULL;
}
int main(int argc, char *argv[])
{
pthread_t threadid[THREADS];
int rc=0;
int loop=0;
int arr[2]={1,2};
argcG=argc;
for(rc=0;rc<argc;rc++)
argvG[rc]=argv[rc];
printf("Creating %d threads\n", THREADS);
for (loop=0; loop<THREADS; ++loop) {
rc =pthread_create(&threadid[loop], NULL, threadfunc,&arr[loop]);
}
for (loop=0; loop<THREADS; ++loop) {
rc = pthread_join(threadid[loop], NULL);
}
printf("Main completed\n");
return 0;
}
The below attached image is a sample output
A Design Basis Threat (DBT) is known to be a characteristics of any given or potential insider and also those of external adversaries, that may try to have or gain unauthorized removal or sabotage, against a physical protection system that was set up designed and evaluated.
<h3>What are Cybersecurity objectives?</h3>
Cybersecurity aims are:
- To protect computer system,
- To protect networks,
- To protect software programs from such cyber attacks.
Note that a lot of digital attacks are targeted at accessing, changing, or deleting sensitive information as well as others.
Learn more about IT from
brainly.com/question/1276995
#SPJ1
Answer:
Option A is the correct choice answer for the above question.
Explanation:
In an MS-Powerpoint document, when a user wants to copy the selected shape and drag that shape for use in slides then he needs to--
- Select the shape
- Press the Ctrl key and
- drag that shape on the slide of the powerpoint.
Then the user gets the shape on the slide for their personal use.
The question scenario also suggests the same which is described above. hence Option A is the correct answer while the other is not because--
- Option B suggests 'ESC' which is used to escape any running program.
- Option C suggests about ALT key which is of no use for the MS-Powerpoint document.
- Option D suggests about TAB key which is used to make the space between two texts or diagram.
Answer:
for e in range(6, 15, 2):
for o in range(5, 15, 2):
calc = e+o
print(e, "+", o, "=", calc)
Explanation: