Example: Let the input string be “i like this program very much”. The function should change the string to “much very program this like i”...
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix....
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix....
Given a string, the task is to reverse the order of the words in the given string....
Given an array, the task is to find average of that array. Average is the sum of array elements divided by the number of elements....
Example: Let the input string be “i like this program very much”. The function should change the string to “much very program this like i”...
Example: Let the input string be “i like this program very much”. The function should change the string to “much very program this like i”...
In C, the whole array cannot be passed as an argument to a function. However, you can pass a pointer to an array without an index by specifying the array’s name....
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix....
The CBSE Class 10 English Exam 2024 was successfully given by the Central Board of Secondary Education on February 26, 2024, during the morning shift, from 10:30 a.m. to 1:30 p.m. Students would race to get their hands on the Class 10 English Answer Key 2024 after the exam. They can verify their answers twice and predict the results with the aid of the CBSE English answer key for class 10 in 2024. Stay put and compare your responses to the CBSE Class 10 English Question Paper 2024 All Sets Solved PDF that is accessible on this page....
Example: Let the input string be “i like this program very much”. The function should change the string to “much very program this like i”...
Array reverse or reverse a array means changing the position of each number of the given array to its opposite position from end, i.e. if a number is at position 1 then its new position will be Array.length, similarly if a number is at position 2 then its new position will be Array.length – 1, and so on....