C – Types of Pointers
In this tutorial we will learn about Null Pointer, Void Pointer, Wild Pointer and more. If you want to know more on Pointers, click the link given below. Pointers in C There are eight different types of pointers, some of …
In this tutorial we will learn about Null Pointer, Void Pointer, Wild Pointer and more. If you want to know more on Pointers, click the link given below. Pointers in C There are eight different types of pointers, some of …
In C programming, just like we pass values of the variable as parameters in the function, we can also pass addresses as an argument in functions. When we pass pointers in the function that means we pass the address of …
In this tutorial, we will learn about the various operation that can be performed on Pointers. But before that if you do not know about the Pointer click the link below. Pointers in C Operators in C As the operation …
In programming, there are various tasks that can be achieved easily with the use of pointers such as dynamic memory allocation that needs pointers to perform. It is important to learn pointers for the programmer because it minimizes the execution …
Recursion refers to the process when a function calls itself inside that function directly or indirectly or in a cycle. And such functions are called recursive functions. However, the crucial part is the termination condition that is given to the …
Questions:Write a C program to accept a coordinate point in an XY coordinate system and determine in which quadrant the coordinate point lies. A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates.There …
In this example, we will calculate the factorial of a number taking the value from the user in C using recursion. Recursion refers to the function calling itself directly or in a cycle. Before we begin, you should have the …
Read moreC Program to Find Factorial of a Number using Recursion
In this example, we will calculate the factorial of a number taking the value from the user in C. Before we begin, you should have the knowledge of the following in C Programming: Factorial of n number: Factorial of n …
In this tutorial, the program finds out the solutions to the simultaneous equations in two variables. The Linear equations are present in the following form: ax+by=c px+qy=r The co-efficient (a, b, c, p, q, r) are taken as an input …
Quadratic equations are the polynomial equation having a degree 2. For a quadratic equation ax2+ bx + c = 0, (a≠0) and the discriminant (D = b2-4ac) decides the nature of roots. There are three possibilities of discriminant and those …