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.
2689Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
18464-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,
2137using 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
3859
What is a lookup table in c?
Explain #pragma statements.
What is operator promotion?
Where are some collections of useful code fragments and examples?
What is difference between class and structure?
Give me the code of in-order recursive and non-recursive.
What is cohesion in c?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Explain is it valid to address one element beyond the end of an array?
What is bss in c?
How can I remove the leading spaces from a string?
What is f'n in math?
what are # pragma staments?
Why does not c have an exponentiation operator?
Why isn't any of this standardized in c? Any real program has to do some of these things.