Operators in C programming (Source Codes)

First.c #include<stdio.h> int main() {     int a;     printf("Enter a number: ");     scanf("%d",&a);     printf("You entered %d .",a);     return 0; } Theory #include<stdio.h> #include<math.h> #d…

Function in C programming

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…

Theory of Computation - Introduction

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…

Basic C programs (examples)

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…

IOE Entrance and Admission Process

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 derivatives | For IOE Entrance

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…

Domain and Range | Calculator tricks for IOE Entrance

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

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/determinant) calculator tricks | For IOE Entrance

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…

Equation solving using calculator | For IOE Entrance | EngT

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…

Limits | Calculator Trick for IOE Entrance

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…

Tokens in C Programming

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…

Variables | Rules for variable Declarations

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…

Identifiers

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

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…

Symbolic Constant in C

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…

Problem Solving Using Computer

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…

Constants

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…

Character Sets

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

Basic Structure of C program

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

Preprocessor Directives

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

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 …

Load More
That is All