Posts

Types of Operator in C Programming Notes

In C programming there are several operators are there those are, arithmetic operator, assignment, increment , decrement, logical, conditional, comma, size of , bitwise and others. So get all types of operator in C Programming notes in simple and understandable words. An operator is a symbol that tells the compiler to perform certain mathematical or logical manipulations. In this article, I will be sharing different types of Operator in C Programming Notes . Types of Operators in C Language An operator is a symbol that tells the compiler to perform certain mathematical or logical manipulations.  C operators can be classified as 1. Arithmetic operators 2. Relational operators 3. Logical operators 4. Assignment operators 5. Increment or Decrement operators 6. Conditional operator 7. Bit wise operators 8. Special operators Increment and Decrement operators in C The Unary operator ++, --, is used as increment and decrement which acts upon single operand. Increment operator increases th...

Top 4 Operators in C Language with Examples

Operator in C programming is a symbol use to perform some operation on variables, operands or with the constant. Some operator required 2 operand to perform operation or Some required single operation. Several operators are there those are, arithmetic operator, assignment, increment , decrement, logical, conditional, comma, size of , bitwise and others. In this article, I will be sharing different types of Operator in C with examples. Types of Operators in C Language An operator is a symbol that tells the compiler to perform certain mathematical or logical manipulations.  C operators can be classified as 1. Arithmetic operators 2. Relational operators 3. Logical operators 4. Assignment operators 5. Increment or Decrement operators 6. Conditional operator 7. Bit wise operators 8. Special operators ARITHMETIC OPERATORS IN C All basic arithmetic operators are present in C. +  add - subtract * multiplication / division % modulo division(remainder) An arithmetic operation involvin...

Constants in C Language with examples explain

Constant is a any value that cannot be changed during program execution. In any Language Constants are very important, so to know Constants in C Language with examples read complete article.  In C, any number, single character, or character string is known as a constant. A constant is an entity that doesn’t change whereas a variable is an entity that may change. For example, the number 50 represents a constant integer value.  The character string "Programming in C is fun.\n" is an example of a constant character string. C constants can be divided into two major categories:  Primary constants   − Integer, float, and character are called as Primary constants. Secondary constants  − Array, structures, pointers, Enum, etc., called as secondary constants. List of Constants in C Language There are different types of constants in C programming. Decimal Constant 10, 20, 450 etc. Real or Floating-point Constant 10.3, 20.2, 450.6 etc. Octal Constant 021, 033, 046 e...

Data Types in C with examples and Size of Data Types

Data Types in C is very important concept to understand along with the size of Data Types in C. So In this article, I will be providing an information about  Data Types in C with examples and Size of Data Types . Data types refer to an extensive system used for declaring variables or functions of different types before its use. To represent different types of data in C program we need different data types. The type of a variable determines how much space it occupies in storage and how the bit pattern stored is interpreted. The value of a variable can be changed any time. C supports four different classes of data types namely: Types of Data Types in C Types Data Types Basic Data Type int, char, float, double Derived Data Type array, pointer, structure, union Enumeration Data Type enum Void Data Type void BASIC DATA TYPES in C All arithmetic operations such as Addition , subtraction etc are possible on basic data types. E.g.:       int a,b;    ...

Basic Structure of C Program with example explain

C program follows some basic Structure, So we will learn Basic Structure of C Program with example and with proper explanation. Basic Structure of C Program The program written in C language follows this basic structure. The sequence of sections should be as they are in the basic structure. A C program should have one or more sections but the sequence of sections is to be followed: 1. Documentation section  2. Linking section  3. Definition section  4. Global declaration section  5. Main function section  6. Sub program or function section In now let us discuss in detail. DOCUMENTATION SECTION DOCUMENTATION SECTION is used to document the use of logic or reasons in your program. It can be used to write the program's objective, developer and logic details.  The documentation is done in C language with /* and */ . Whatever is written between these two are called comments. LINKING SECTION This section tells the compiler to link the certain occurrences of...

Become App Developer Beginners Guide 2020

Image
Become App Developer Beginners Guide 2020 Become App Developer Beginners Guide 2020, Want to become Android or App Developer then you are in the right article. We provide Basic to Advanced App Developer Beginners Guide. Many Students want to become App Developers due to its trend in this decade. So to learn Mobile App Development especially Android App Development Candidate has to learn some Programming Languages and want some resources from where they can start and go from zero to hero. So in this Article about –Become App Developer Beginners Guide in 2020 we listed Resources for Learning App Development and Languages to know to become an Android App Developer. Therefore, If you want to become or have an interest in Mobile App Development then go through complete Article Nowadays Students are well-known to  What is App Development? But don't know how to get started? So let me tell you there are many Platforms to Start. Become App Developer Beginners ...

Traffic signal Using C graphics

Animate traffic signal using C graphics #include <stdio.h>   #include <conio.h>   #include <graphics.h>   #include <dos.h>   #include <string.h>   void main() {         /* request auto detection */         int gdriver = DETECT, gmode, err;         int i, j, k, x, y, color;         char str[64];         /* initialize graphic mode */         initgraph(&gdriver, &gmode, "C:/TC/BGI");         for (i = 0; i < 3; i++) {                 /* clears graphic screen */                 cleardevice();                 /* draw the signal post */                 setcolor(DARKGRAY);         ...