-
Program to find number of words,vowels,spaces,special chars and consonants in sentence using C

C language provides many libraries to handle strings. The libraries that we are going to be using are ctype and string. If you are working in C and you require to manipulate a string, ctype and string header files are your friends! Make use of them. Explanation The functions of ctype.h used in the program…
-
Creating Your Own hacking Lab: The Beginner’s guide

This article is a beginner’s level guide to create your own hacking lab so you can practice in a safe environment. With your own hacking lab set up, you can work without boundaries and explore more. I will be telling you about the software tools and their configuration and how you can configure network as…
-
Program to find factorial of a number using function in C language
Below is the program to find factorial of a number using function in C language. The program has been compiled and executed in Dev C++. The function is a block of code that is specifically designed to do a certain task. Here, the function is taking an argument and calculating the factorial returning its resulting…
-
Program to display series and find sum of 1+3+5+…+n in C language

The series 1+3+5+..+n, is a series of odd number. We need to write a program to display this series as well as find the sum upto nth number. The n will be inserted by the user. The program has been compiled and executed under DEV c++. CODE: #include void main() { int i,n,sum=1; printf(“Enter any…
-
Program to show Call by Value and Call by Reference in C Language

This article will illustrate the use of Call by Value and Call by Reference in C Programming language. C Language provide several features. Before, we talk about call by reference and call by value, let’s have a little talk about functions in C because both of them are used within the functions itself. A function…






