Essential Array Manipulation Programs in C: Removing Duplicates, Rotating, and More

Atanu sir

In this lecture, I have explained more 10 programming on arrays in C programming. In your previous class, you learned about the basic features of the array with some basic programming. In this article, I am going to explain more complex array programs. 1. Program to Remove Duplicates from an Array #include <stdio.h> int main() … Read more

What Are Python Tuples? Functions, Operations, and Examples for Beginners

Atanu sir

What is a tuple? A tuple in Python is used to store heterogeneous data types and is enclosed by parenthesis (). The structure is almost similar to a list but the list is mutable, on the other hand, the tuple is immutable. Mutable  -we can change the elements in a data series. Example of modifying … Read more

Important Java programs for Aptitude test

Aptitude-java.jpg

1.Store 2 numbers in two variables and swap or exchange them by using 3rd variable class swap1 {     public static void main(String args[])     {     int a=10,b=20,t;     System.out.println(“Before swap: a = ” + a + “, b = ” + b);         t = a;         a = b;         b = t;     System.out.println(“After swap: a = ” + … Read more