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 …

Advertisements

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 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 …

C Program to change the text colors.

Write a C Program to change the text colors.In this program, we give the example of changing the text colors, background colors using conio.h library.Syntax: void textcolor(int_color);Here color is the integer variable, you can specify a color name also, but it should be a proper color name in capital letters.Read more about C Programming Language …