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.
2352Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
15674-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,
1864using 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
3504
What is the meaning of typedef struct in c?
What is the size of enum in bytes?
How can you call a function, given its name as a string?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Is c still used?
Why main is used in c?
what is the difference between 123 and 0123 in c?
Is there anything like an ifdef for typedefs?
Is void a keyword in c?
In C programming, what command or code can be used to determine if a number of odd or even?
What does *p++ do?
Can we change the value of #define in c?
Explain enumerated types in c language?
Explain the difference between strcpy() and memcpy() function?
Why is c used in embedded systems?