C Program to check whether two strings are anagrams of each other.

C Strings: Write a c program to check whether two strings are anagrams of each other. Two strings are said to be anagrams, if the characters in the strings are same in terms of numbers and value ,only arrangement or order of characters are may be different. Example: “dfghjkl” and “lkjghdf” are anagrams of each …

C Program to copy and concatenate strings without using standard functions.

C Program to copy and concatenate strings without using standard functions.In this program , we copy one string from another, and without using the standard library function strcpy from string.h .Here we appends the one string to another without using the strcat function. Read more about C Programming Language . /************************************************************ You can use all …

C Program to compare two strings

C Strings: C Program to accepts two strings and compare them, Finally it prints whether both are equal, or first string is greater than the second or the first string is less than the second string. The string comparison starts with the first character in each string and continues with subsequent characters until the corresponding …

C Program to concatenate two strings

C Strings: Write a function to concatenate two strings, write a program to read three Strings and use the function to concatenate them and print it. String concatenation is the process of combining two or more strings to a single String. Here, we write the function for string concatenation, and passing the three strings to …

C Programs List

On this page, we have tried to categorize all the programs for quick reference. Simple C Programs Airthmatic Operators ++ and — Operatores Global and Internal Variables Extern Variables Bitwise operators Size of data Types Switch Statement Ternary Condition(?) Format Enumeration Example Functions Multiplication table Do statement Sum Digits of Integer Pyramid Pattern Name Sort …

C Program to delete a file using remove function.

Write a C program to delete a specified file using remove function. remove function deletes the specified file, where it takes file name as the argument and if file is successively deleted it returns 0 , other wise returns a non zero value. Read more about C Programming Language . and read the C Programming …

C program without using main function

Write a C program without using main function.In this program, we didn’t use the main function, but we are using the preprocessor directive #define with arguments to define the Main function.A Preprocessor is program which processes the source code before compilation.The ‘##‘ operator is called the token pasting or token merging operator. In the second …

C program to print given numbers as a pyramid

Write a C program to print given numbers as a pyramid.In this program we use the simple for statements to produce the patterns.This program prints the following output,        1      232    34543  4567654567898765 Read more about C Programming Language . and read the C Programming Language (2nd Edition). by K and …

C Aptitude Questions and answers with explanation

C Aptitude 26C program is one of most popular programming language which is used for core level of coding across the board. C program is used for operating systems, embedded systems, system engineering, word processors,hard ware drivers, etc. In this site, we have discussed various type of C programs till date and from now on, …

C program to hide the mouse pointers.

C program to hide the mouse pointers.In this program, we hide the mouse pointers using graphics.h and dos.h library functions.To use graphics.h, we have to install the drivers in to the the system by using the initgraph() function.In this program,we also check the condition that mouse pointer is available or not. Read more about C …