Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer all the question. C language required. I really need help thanks. Write a code which searches the number 88 in the following array
Please answer all the question. C language required. I really need help thanks.
- Write a code which searches the number 88 in the following array and print the message if the number does not exist in the array.
int A[10] = {2, 1, 15, 20, 11,40,44,8};
Note: You must search the number 88 only not generic search.
- Find the error in the following program segments and list them one by one and explain how these errors can be corrected.
void product (int , int , int ,int );
int main(){
int a, b=5, c=3;
b= product (5, b ,4*c);
printf (%d, b);
}
void product(int x, int y, int z, int k);
{
int p;
p=xyzk;
return p;
}
3. Make a structure of leader with name and born year. Print the value of leader without taking any input from user. (Marks=4)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started