Menu

C Archive

Learn Print Rectangle Pattern in C Programming

Pattern in C programming  Hello, guys today we learn about user-inputted Pattern in C programming (User input the value of ROW and COLUMN) Using Nested loop. And get output with the explanation. C program to print rectangle pattern /* C program to print hollow rectangle star pattern */ #include <stdio.h> int main() { int i,

How to create a program Generic bubble sort in C

Generic bubble sort in C Today we Learn about sorting technique in  C for example:- How to create a Generic Bubble sort in C. How to create a Generic Bubble Sorting in C    #include <iostream> using namespace std; template <class X> void bubble(X *data, intsize) { register inta, b; X t; for(a=1; a <

C Program to Check Palindrome number in C

C Program to Check Palindrome Palindrome:- An integer is a palindrome number if the reverse of that number is equal to the original number. That is called a palindrome number. C Program to Check Palindrome number Palindrome number in c #include <stdio.h> int main() { int n, reversedN = 0, remainder, originalN; printf(“Enter an integer:
Learn For Free.