NPTEL Problem Solving Trough Programming In C | NPTEL Week 6 Programming Assignment | NPTEL Assignment Solutions

NPTEL Problem Solving Trough Programming In C Week 6 Programming Assignment | NPTEL Swayam Assignment Answers 


problem solving through programming in C nptel


Nptel Week 6 Programming Assignment Answers:

Q.1: Write a C Program to find Largest Element of an Integer Array. 
Here the number of elements in the array ‘n’ and the elements of the array is read from the test data.

write a C program to find largest element of an integer array


Code:




Q.2: Write a C Program to print the array elements in reverse order (Not reverse sorted order. Just the last element will become first element, second last element will become second element and so on)
Here the size of the array, ‘n’ and the array elements is accepted from the test case data. The last part i.e. printing the array is also written.

write a C program to print the array elements in reverse order


Code:




Q.3: Write a C program to read Two One Dimensional Arrays of same data type (integer type) and merge them into another One Dimensional Array of same type.

write a C program to read two one dimensional arrays of same data type


Code:





Q.4: Write a C Program to delete duplicate elements from an array of integers.

write a C program to delete duplicate elements from an array of integers


Code:




If you are facing any queries regarding this assignment solutions, then please drop comment in comment section.

Post a Comment

0 Comments