Q-1: Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college.
8 49143find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
2276Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
2162write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
5 6432In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
1810
Dont ansi function prototypes render lint obsolete?
Stimulate calculator using Switch-case-default statement for two numbers
How do you do dynamic memory allocation in C applications?
What is getch () for?
Explain what is wrong with this statement? Myname = ?robin?;
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
What are the advantages of using Unions?
What is build process in c?
What is #define size in c?
Explain how do you list files in a directory?
What is the use of in c?
What is #include stdio h and #include conio h?
What is difference between function overloading and operator overloading?
What is assert and when would I use it?
What is the benefit of using #define to declare a constant?