Explain the concept of pointers in C and their various uses. Write a C program that uses pointers to perform operations on arrays, including finding the maximum and minimum values, and reversing the array. Discuss the advantages and potential pitfalls of using pointers.
See Answer →Without using the built-in string functions, write a C program to take a choice from the user (use a SWITCH statement) (i) to find the string length (ii) for string concatenation, (iii) string copy and (iv) string comparison.
See Answer →
Write a C program to perform division on 2 matrices A and B of size NXN and store the result in matrix C.
See Answer →Write a C program to find the sum of all elements in an array.
See Answer →Discuss the differences between iterative and recursive approaches in solving problems. Write C programs to compute the factorial of a number using both iterative and recursive methods. Compare their performance and memory usage.
See Answer →Explain circular permutation and its application in problem solving with en example.
See Answer →"If today is a holiday then I will not go to school". Write inverse and for this sentence. contrapositive
See Answer →Show, using the pigeonhole principle, that in any group of 30 people, 5 people can always be found who were born on the same day of the week.
See Answer →Find dual of Boolean Expression for the output (P) of the following logic circuit.
Write the following statements in symbolic form:
(i) Mahesh is hardworking student therefore he is a good performer.
(ii) Either exercise regularly or be ready for poor health.
See Answer →What is a function? Explain how to find inverse of a function with the help of an example.
See Answer →Prove +C "C, + "C,n
See Answer →Explain addition theorem in probability with an example.
See Answer →Three Sets A, B and Care: A= {1, 3,5,7,9,12,13, 15,17}, B= {1,2, 3,7,8,9, 10,17} and C {1,2,7, 8, 10, 11, 12,13,173. Find A B C; A~BUC; ABCand(A~C)
See Answer →How many wa
ys are there to distribute 29 district items into 5 distinct boxes with:At least two empty box.
i) At least two empty box.
ii) No empty box.
iii) Explain principle of multiplication with an example
See Answer →Let fand g be the two functions such that Define fof, fog, gof and gog.
Explain whether the function f(x) = x²+2 is one-one or not.
See Answer →Find how many 3 digit numbers are even?
See Answer →A and B are mutually exclusive events such that P(A) = 1/4 and P(B)= 1/2 and P (AU B) = 1/6. What is the probability of P(A ∩ B)?
See Answer →A committee consisting of 5 male and2 female workers is to be constituted from 8 male and 9 female workers. In how many distinct ways can this be done?
See Answer →