Question: Please answer in C language 1. Rewrite the given code as a FOR loop int num = 10; while (num !=0) { scanf(%d, &value); num


Please answer in C language
1. Rewrite the given code as a FOR loop int num = 10; while (num !=0) { scanf("%d", &value); num = num - 2; } 2. Write a statement which invokes(call) the function prime in the following C program. int prime No(int d[],int); //function prototype void maino { int k; int COM[10]={2,3,4,5); //function call return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
