Linear Search vs Binary Search

Binary search example

Linear Search vs Binary Search A Linear Search is the most basic type of searching algorithm. A Linear Search sequentially moves through your collection (or data structure) looking for a matching value. In other words, it looks down a list, one item at a time, without jumping. Think of it as a way of finding your way in a phonebook Binary … Read more

Matrix multiplication program in C

c program for two-dimensional arrays

Matrix multiplication program in C Matrix multiplication in C language to calculate the product of two matrices (two-dimensional arrays). A user inputs the orders and elements of the matrices. If the multiplication isn’t possible, an error message is displayed. You may have studied the method to multiply matrices in Mathematics. Matrix multiplication in C language … Read more

C Program to Check whether an Alphabet is Vowel or Consonant

c program to check vowel and consonant

C Program to Check whether an Alphabet is Vowel or Consonant This program takes the character value(entered by user) as input and checks whether that character is a vowel or consonant using if-else statement. Since a user is allowed to enter an alphabet in lowercase and uppercase, the program checks for both uppercase and lowercase … Read more

IP Address Program in C

IP address program in c

IP Address Program in C What is IP Address An Internet Protocol address (IP address) is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication.   Let’s Start Writting C program to find IP Address.   #include<stdlib.h> main() { system(“C:\\Windows\\System32\\ipconfig”); system(“pause”); return 0; }  

CTET Result 2019: सीटीईटी दिसंबर परीक्षा का रिजल्ट घोषित, यह रहा Direct link, 5.42 लाख अभ्यर्थी पास

CTET Result 2019: सीटीईटी दिसंबर परीक्षा का रिजल्ट घोषित, यह रहा Direct link, 5.42 लाख अभ्यर्थी पास CTET Result 2019: केंद्रीय शिक्षक पात्रता परीक्षा ( सीटीईटी ) दिसंबर परीक्षा का रिजल्ट आज जारी कर दिया गया है। जिन उम्मीदवारों ने परीक्षा दी थी वो सीटीईटी की ऑफिशियल वेबसाइट ctet.nic.in पर रिजल्ट चेक कर सकेंगे। रिजल्ट चेक करने … Read more

mysql_secure_installation – MySQL Script

mysql-mysql_secure_installation

mysql_secure_installation – MySQL Script mysql_secure_installation is a shell script available on Unix systems, and enables you to improve the security of your MariaDB or MySQL installation in the following ways: You can set a password for root accounts. You can remove root accounts that are accessible from outside the local host. You can remove anonymous-user accounts. … Read more

Merry Christmas – Program for Christmas Tree in C

merry christmas program in c

Merry Christmas – Program for Christmas Tree in C   To print a Christmas tree, we are printing pyramids of various sizes just one beneath the other. For the decoration, a random character is printed at each position. Height and randomness can be adjusted. This is been repeated frame after frame to give the illusion of a true event. … Read more

C Program to Add two numbers

c program to add 2 numbers

C Program to Add two numbers Program to add two integer numbers To read the input numbers we are using scanf() function and then we are using printf() function to display the sum of these numbers. The %d used in scanf() and printf() functions is the format specifier which is used for int data types in C programming. … Read more

How to Write and Run a C Program in Ubuntu

write a cprogran in ubuntu

How to Write and Run a C Program in Ubuntu Linux is becoming a programming heaven for developers. This is an open source and free operating system. Turbo C compiler is already an old approach to compile programs so let us programmers move to Linux for a new programming environment. Step 1: Install the build-essential … Read more