Function Function Recursion 1. Factorial of given number using function recursion in C programming. // Function Recursion in C. || Factorial of given number. #include<stdio.h> factorial(int n){ if(n==0) return 1; else if(n==1) return 1…
TOC - Introduction 1.1 Set Set is a collection of well defined objects. For example: V={a,e,i,o,u}, N={0,1,2,3,..........} etc. 1.1.1 Types of sets: i. Empty Set: A set having no elements is a empt…
Loops in C programming (for loop/ while loop / do while loop) C program calculate factorial of a number given by user. #include<stdio.h> main() { int n,i; double fact=1; printf("Enter a number: "); scanf("%d",&n); …
Decision making statements in C C program calculate roots (both real and imaginary) of a quadratic equation. #include <stdio.h> #include <math.h> main() { float a, b, c, root1, root2, rp, ip; printf("Enter the coefficients: \n&qu…
Very basic C programs examples 1. C program to print "Hello world" or any text. #include<stdio.h> int main() { printf("Hello, World!"); return 0; } Watch Tutorial in YouTube 2. C program to add two numbers and display th…
Binomial Expansion Largest term in the expansion Steps: First of all, locate n or r which is given(known). Use the formula, nCr x a^(n-r) x b^r. Replacing known variable with their values. Press "CALC" in calculator and examine value of r wh…
Application of integration calculator tricks 1. Area under the curve Steps: First identify the upper and lower limits of the integration. If points are given just put them in their places. If not solve the equations to get the limits. After finding…
Application of derivative calculator tricks 1. Rate of Change Steps : First of all, Note whose rate of change is given and whose rate of change is to find out. The determine the formula for the term whose rate is to be calculated in terms of the te…
IOE Entrance and Admission Process About Entrance Website entrance.ioe.edu.np You will get entrance notice here. You will fill up entrance form here. You will get all information about filling entrance form from this website. You can check if your e…
Application of Partial Derivative 1. Center of conic sections Partial Derivative Steps: Find partial derivative of given function w.r.t. x taking rest of variable except x assuming constant. equation partial derivative of the given function as zero…
Inverse Circular (trigonometric) Functions Part-I Steps: Turn on radian mode as you are solving trigonometric problems to get less error, by pressing Shift + Mode + 4 . Copy the question with maximum and effective uses of brackets. Only () small bra…
Number of tangents that can be drawn from a point to a circle or ellipse or hyperbola or parabola Steps: Copy question on calculator making right side as zero. Put given values of (x,y) pressing CALC button on calculator. You will have three condit…
Domain Steps: Go to mode and press 7 for table mode. Copy question after f(x)= Start with 1 less than lowest value and end with 1 more than largest one. Put steps as required. generally 1 but not always. After putting steps press '=' than y…
General Values Calculator Tricks for IOE Entrance Steps: Generally set your calculator on radian mode . Shift all the equation in one side, i.e. making equation=0. copy your question excluding =0 i.e. only of left side the = symbol. generalize optio…
Matrix inverse using calculator: Steps: Press mode + 6 to enable matrix mode in your calculator. Choose any matrix by pressing 1,2 or 3. Choose order of matrix. Put members of matrix in respective order. Press AC only after pressing '=' inputt…
In the video below you will learn to solve any equation using calculator for IOE entrance. Basic Steps press mode and then 5 to enable equation solving mode. Choose the equation that you wanna solve by pressing 1,2,3 or 4. Then input the coefficient…
Limit calculator tricks: The following video contains the required information about calculator tricks on limit. Which will be very helpful for preparing IOE entrance. Such idea will help you to save time and utilize this time on solving passage of e…
The basic/smallest elements reserved by the c compiler are the tokens .The compiler breaks a program into the smallest possible units which is known as tokens and proceeds to the various stages of the compilation. Examples: Keywords, identifiers, ope…
A symbolic name which is used to store data item (numerical quantity or a character constant) is known as variables .It is nothing but a name given to a storage area that our programs can manipulate.It is the name of memory location.It is a way to re…
Each words used in c programming to identify the name of variables, functions, arrays, pointers and symbolic constants are known as identifiers . They are name given by the user consisting a sequence of letters, digits and underscores. Rules for nami…
Keywords are the predefined words in C Programming which have fixed meaning in C that can’t be changed. It is also called as reserved words . It is the basic building blocks for programming statements. It can’t be used as identifiers. List of Keyword…
A name given to some numeric constant, character constant, string constant or any other constants is known as Symbolic constant. Preprocessor directive #define is used to define symbolic constant. Rules for defining a symbolic constant Symbolic cons…
1. Problem analysis Process: Identifying the objective Note the input, processing and output requirements Decomposition of whole parts in smaller parts Applying the external knowledge to solve the respective problem Advantages: It leads you to the s…
The quantity that doesn’t changes in the program is called as the constant . It can be defined using #define preprocessor directive or by using const keyword. There are four types of constant in C programming: 1. Integer Constants An integer consta…
The set of character that are used to form words, numbers and expressions are called character sets . 1. Letters A ….. Z and a ….. z 2. Digits 0, 1, 2, 3, ……….., 8, 9 3. Special Characters # ^ ; , . * etc. 4. …
There are following structures of a basic C program. Documentation Section Documentation section consists of a sets of comment lines including name of the program, name of the author and other details. This section uses comments. It is written after /…
All three functions are unformatted input functions that takes only one character at once from the user. But nature of taking inputs by each is different. getchar(); After you press a character it will show character to be input and then you have to p…
Preprocessor directives are the special instructions which are executed before code passes through the compilation process. It begins with hash (#) symbol and do not require semicolon at the end. One of the most important preprocessor directive is #i…
Escape Sequence: Download this note. Escape Sequences are the non—printing characters used in C programming. It is a character combination consisting of a backslash (\) which is followed by a character. It is used to specify actions such as carriage …
There are 3 types of operators in C Program on the basis of the numbers of operators : Unary Operators: The operators that requires only one operands to give the result is known as unary operators . For example: a++; ++a; --a; a--; b…