Learn C language

Learn C language This page is created to learn C language

Any doubt?Comment or DMFollow:   More info will come soon till keep googling stuff hope you get all! (Busy schedule)    ...
30/09/2021

Any doubt?
Comment or DM
Follow:


More info will come soon till keep googling stuff hope you get all! (Busy schedule)

More post on C Language will not come. Because it takes a lot of time. So, giving you resources from where I learnt & yo...
17/08/2021

More post on C Language will not come. Because it takes a lot of time. So, giving you resources from where I learnt & you can also learn easily.

Control statement:Basic Concept of IF ___________________________Follow:  πŸ™‚More content will come soonπŸ™‚_________________...
18/03/2021

Control statement:
Basic Concept of IF
___________________________

Follow:
πŸ™‚More content will come soonπŸ™‚
___________________________
Designed by:

Loops:Example and  Practice Questions ___________________________Follow:  πŸ™‚More content will come soonπŸ™‚_________________...
17/03/2021

Loops:
Example and Practice Questions
___________________________

Follow:
πŸ™‚More content will come soonπŸ™‚
___________________________
Designed by:

Follow:  πŸ™‚More content will come soonπŸ™‚___________________________Designed by:
15/03/2021

Follow:
πŸ™‚More content will come soonπŸ™‚
___________________________
Designed by:

πŸ’₯ LOGICAL OPERATOR πŸ’₯πŸ’₯ πŸ’₯Visit our blogπŸ‘‡πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯ Link in Bio πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯Follow usπŸ”₯ πŸ”₯πŸ”₯ πŸ”₯πŸ”₯ πŸ”₯Blog MakerπŸ’₯πŸ”₯ πŸ”₯πŸ”₯ πŸ”₯Edit in πŸ’₯           ...
01/11/2020

πŸ’₯ LOGICAL OPERATOR πŸ’₯
πŸ’₯ πŸ’₯
Visit our blogπŸ‘‡
πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯
πŸ’₯ Link in Bio πŸ’₯
πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯πŸ’₯
Follow us
πŸ”₯ πŸ”₯
πŸ”₯ πŸ”₯
πŸ”₯ πŸ”₯
Blog MakerπŸ’₯
πŸ”₯ πŸ”₯
πŸ”₯ πŸ”₯
Edit in πŸ’₯

Arithmetic operators are:* (Multiply), /(divide), %(Modulas)-It's priority is most+ -         It's priority is less.i) M...
16/11/2019

Arithmetic operators are:
* (Multiply), /(divide), %(Modulas)-It's priority is most
+ - It's priority is less.
i) Multiplication Operator:

This operator multiplies two operands.
If in any expression if there is * (multiplication) and + (Addition). Then according to precedence rule * (multiplication) is first solved.
If in arithmetic operators, operators are the same then it is solved from left to right.
i.e its associativity is left to right.

Program
checkout; https://buildupclanguage.blogspot.com/2019/11/arithmetic-operators.html

****************************************************
Multiplication Operator:
Integer divide Operator:
Addition and subtraction operator
Addition and subtraction operator

What is the difference between post-increment and pre-increment?The operator is written after the variable. The operator...
14/11/2019

What is the difference between post-increment and pre-increment?
The operator is written after the variable. The operator is written before the variable.

The priority of the post-increment is the least even more than assignment operators (An exceptional rule). While the priority of pre-increment is the most.
Check out our blog for detailed explanation of Unary Operators!

buildupclanguage.blogspot.com
https://buildupclanguage.blogspot.com/2019/11/unary-operator.html

Example: 5+10*345 or 150If you solve from left to right then your answer will be 45. But if you solve from right to left...
13/11/2019

Example:
5+10*3
45 or 150

If you solve from left to right then your answer will be 45. But if you solve from right to left then your answer will be 150.
Now, the question in your mind arises that which one is the correct answer? 45 or 150?
To understand this concept you must have clear the concept of which operator you have to solve first. Because as there is a concept of BODMAS (Bracket Of Divison Multiplication Addition and Subtraction) precedence rule in Mathematics it is not applicable in C language.
This confusion comes when you have to tackle more than one operator.

To understand how to solve the above question or which is the correct answer stay tuned! And read our upcoming blog post...

Defining Symbolic constant:A symbolic constant value can be defined as a preprocessor statement that is used in the prog...
12/11/2019

Defining Symbolic constant:

A symbolic constant value can be defined as a preprocessor statement that is used in the program as any other constant value.

When you include the header file with the help of the keyword define, the constant is declared it is called symbolic constant.

Define symbolic constant:
symbolic_name value of constant

The symbolic name of variable or constant then after giving space put the value which wants to put.

Other examples:
PI 3.141593
TOTAL 100

You can also use this in as a global variable
PI-Symbolic constant whose value is 3.141593. When the program is preprocessed, all occurrences of the symbolic constant PI are replaced with the replacement text 3.141593

Symbolic constant in C program:
PI 3.141593
TRUE 1
FALSE 0

Symbolic constants are the constants represented by symbols...

Constants are values that don't change throughout the program ex*****on..
Read our blog for more!
https://buildupclanguage.blogspot.com/

1.Primary declaration:-       In primary type declaration, A declaration statement begins with the type, end by the name...
11/11/2019

1.Primary declaration:-

In primary type declaration, A declaration statement begins with the type, end by the name of one or more variables. A declaration statement must end be with a semicolon.
Syntax of declaration sentences.

Syntax: data_type variable_1, variable_2, .....,variable_n;

Declaration of multiple variables of the same data types can be done in one statement.
For Example,
int a;
int b;
int c;
can be also written as
int a, b, c;
When variables are declared inside a function, they are called local variables. When the variables are declared in the definition of function parameters, these variables are called formal parameters. when the variables are declared outside all functions, they are called global variables.

2. User-Defined declaration:-

C language supports a feature known as "type definition" which allows defining an identifier that would represent an existing data type. the user-defined data type identifier can later be used to declare a variable.

Syntax of user-defined type declaration is,
Syntax: typedef type identifier;

Where type refers to existing data types and identifiers refers to the new name given to the data type. typedef cannot create a new type.
Some Examples,
typedef int marks;
typedef float sum;

Here, marks symbolize int and float symbolize float. they can be used to declare variable later. as follows,
marks batch1, batch2;
sum sum1, sum2;
where marks and sum represent integer type and float type value.
we don't have to declare their datatype again.
Another user-defined data type is the enumerated data type provided by ANSI.

Syntax: enum identifier{v1, v2, v3, ...vn};

08/11/2019

Address

Gandhinagar

Alerts

Be the first to know and let us send you an email when Learn C language posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Learn C language:

Share