-->

Welcome to Easy Tutorial

.

About Us

WE ARE CREATIVE

.

.

1254

HAPPY CLIENTS

1424

COMPLETE PROJECT

2136

CUP OF COFFIE

15

AWARDS

img

Huzaifa Ansari

Web developer

Hi i am Huzaifa Ansari ,your's teacher .

img

Huzaifa Ansari

Blogger

I am also a blogger.

img

Huzaifa Ansari

Freelancer

I am freelancer.

Blog

LATEST FORM Blog

Operator in c

  

Operator


An operator is a symbol that tells the computer to perform certain mathematical and logical manipulation.

Types of operators :
  1.  Arithmetic operator
  2. Relational operator   
  3. Logical operator
  4. Conditional operator
  5. Bitwise operator
  6. Assignment operator 

Arithmetic operator

 
Operator
Symbol
Example
Plus
           +
10+5=15
Minus
            -
10-5=5
Multiplication
            *
10*5=50
Division
            /
10/5=2
Modular
     %     (gives remainder)
10%5=0

Relational operator


Operator
Meaning
Example
        <
Less than
If (10<5)-false
       <=
Less than or equal to
If (10<=5)-false
         >
Greater than
If(10>5)-true
        >=
Greater than or equal to
If(10>=5)-true
        ==
Equal to
If(10==5)-false




Logical operator


Symbol
Meaning
&&
Logical and
||
Logical or
!
Logical not

  







Operator
Operator

Visit Our Website Link Here:https://www.digitalakhbar.co.in/

Storage classes in c





Storage classes in c

Storage classes in c
Storage classes in c



Storage Classes in C  are used to describe the features of a variable/function. These features basically include the scope, visibility and life-time which help us to trace the existence of a particular variable during the runtime of a program.

So, storage class signifies 4 things:

1.     Storage/ Location : where the variable is stored.
2.     Default value : what value would it hold if it is not initialized.
3.     Scope : where the variable is would be available.
4.    Life : how long would the variable be available. 

There are four type of storage classes in C.

1.     Automatic storage class.

2.     Register storage class.

3.     Static storage class.

4.     External  storage class.



Automatic storage class.

Keyword : auto
Storage : Memory.
Default value : garbage (unpredictable value).
Scope: local to block.
Life: till control is in the block in which variable is defined .

Register storage class.

Keyword : register.
Storage : CPU register (internal memory of microprocessor.).
Default value : garbage .
Scope: local to block.
Life: till control is in the block in which variable is defined.

Static storage class.

Keyword : static.
Storage : Memory.
Default value : zero/0
Scope: local to block.
Life: till the execution of program does not end.

External storage class.

Keyword : extern.
Storage : Memory.
Default value : zero/0.
Scope: global (whole the program).
 Life: till the execution of program does not end.

When we storage classes?

Register -for frequently used variable.
Static – if variable is to live across function calls.
External – if variable is required by all functions.
Automatic – All storage class.

 
Storage classes in c,storage class ,
Storage classes in c




Visit Our Website Link Here:https://www.digitalakhbar.co.in/
https://www.digitalakhbar.co.in/

           < previous page                                                                             Next page >


Variables


Variables

Those value which does not change during execution of program known as variables.


A variable is nothing but a name given to a storage area that our programs can manipulate.

A variable definition tells the compiler where and how much storage to create for the variable.

 A variable definition specifies a data type and contains a list of one or more variables of that type as follows.

syntax :

type variable list;

Here, type must be a valid C data type including char, w_char, int, float, double, bool, or any user-defined object; and variable_list may consist of one or more identifier names separated by commas.




Visit Our Website Link Here:https://www.digitalakhbar.co.in/


       < previous page                                                                             Next page >




Constants in C

Constants

A constants in C is fixed value which not alter during execution of program.
Constants can be any of the basic datatype like an integer constants ,floating constants ,or string constants.

constants are also known as Literals.

Integer constants

Integer constants can be hexadecimal, decimal,or octal.
Integer constants can also have a suffix that is a combination 
of U and L , for unsigned and long .

Rules for constructing Integer constants

  1. It must have at least one digit .
  2. It does not allow   blank,commas within constant.
  3. It sign is Positive.
  4. Its range for integer constants is depends upon the compiler 
        i.e,compiler like visual studio and GCC is -2147483 to               +2147483  ,and  for Turbo C++ range is -32768 to +32767.

floating constants / Real constants

In simple word it contains decimal value of constants.
it can be written into two form : 
  1. Fractional form.
  2. Exponential form.

Rules for constructing Real constants

  1. It must have at least one digit .






Constants in C
Constants in C










       < previous page                                                                             Next page >



     

    variable in C


    Variable


    Those value which can be change during execution of program known as Variables

    It tells the compiler where and how much to create the storage for the variables ,







    Visit Our Website Link Here:https://www.digitalakhbar.co.in/




           < previous page                                                                             Next page >

    Datatype in C





    Basic syntax

    C - Basic Syntax





    C-Basic syntax

    Program Structure of C programming






    Program structure

    Index of C programming



    INDEX

    word press





    What is word press ?

    what is blog ?


     


    What is Blog?

    In simple word ,a blog is a regularly updated website or web page, typically one run by an individual or small group, that is written in an informal or conversational style.

     A blog is a website where a person or entity can write content about a specific topic or just to share thoughts and opinions in general. It appears as different posts in chronological order where images and hyperlinks to other sources are included.

    You can start blogging as an expert of an area as cooking or travelling, you can blog as a way of expressing feelings or also as a company using the blog as a marketing tool to create content and engage your target audience.
    What is the difference between Blog & Website?
    Blogs are websites, but we usually differentiate both terms. From a business perspective, blogs are content generators while the website is a showcase for products or services.
    So, the corporate blog is usually inserted in the website and provides content related to the company area of expertise.
    As a legal platform for business, a blog provides insights about the legal issues of the entrepreneurial world, allowing us to express our knowledge and at the same time provide interesting content to our audience.
    History of Blog? From where Blog came into Existence?
    Here’s a great site which explains the history of blogging and kind of the first blogger who most people credit with starting blogging.
    Over the years many platforms have come out which have made blogging easier to do for your average person who’s not a web designer or that tech savvy.
    Things like Google Blogger, Tumblr blogs, and more recently Medium which has kind of caused a renewed interest in blogging. While vlogging (video Blog) is slowly taking over blogging in popularity there’s still a lot of interest in both writing and reading blogs.
    How Do Bloggers Make Money From Their Blogs?
    There are many ways to monetize a blog.
    Some people run Adsense or other ad networks like Chiquita.
    A blogger can place a code on their site which will feature relevant ads based on the reader’s search history as well as the content of the site.
    You have affiliate marketing where bloggers may mention or talk about a product and then link to Amazon or similar sites through a special trackable link and they get a percentage of each sale they drive.
    Bloggers also do sponsor posts where a company will pay them to blog about a certain product.
    Bloggers can also sell ad space directly to companies and made their offers.


    what is url ?



    URL 

    Uniform resource locator;



    URL,what is url

    URL

    What is web design ?

    What is web design ?

    life qoutes

    life qoutes
    life qoutes