7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
2702Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
18494-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
TCS,
2150using only #include
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
3871
Explain logical errors? Compare with syntax errors.
find the sum of two matrices and WAP for it.
What is indirection in c?
What is calloc in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Why flag is used in c?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What is the explanation for prototype function in c?
What is a dynamic array in c?
Multiply an Integer Number by 2 Without Using Multiplication Operator
How to draw the flowchart for structure programs?
What is the difference between c &c++?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is the translation phases used in c language?
What is the method to save data in stack data structure type?