Type of User-defined Functions in C

In this tutorial, we will learn about the different types of user defined functions in C and the concept of Nesting of functions which is used in recursion. There can be 4 different types of user-defined functions, they are: Function with no arguments and no return value Function with no arguments and a return value …

Storage classes in C

In C language, each variable has a storage class which decides the following things: scope i.e where the value of the variable would be available inside a program. default initial value i.e if we do not explicitly initialize that variable, what will be its default initial value. lifetime of that variable i.e for how long will that variable …

String and Character Array

String is a sequence of characters that is treated as a single data item and terminated by null character ‘\0’. Remember that C language does not support strings as a data type. A string is actually one-dimensional array of characters in C language. These are often used to create meaningful and readable programs. For example: The string “hello world” …

Design a site like this with WordPress.com
Get started