Programming Language

BASICS OF C PROGRAMMING LANGUAGE

BASICS OF C PROGRAMMING LANGUAGE Us all of us identified C is a general-purpose, procedural pc programming language supporting structured programming. we have to get to know a few of C Language foundation .These fundamentals embody         Variables- used to retailer reminiscence locationLoop Buildings- assortment of variables which might be of various datatypesarrays- assortment of components which might be of the identical datatypes however totally different structureDatatypes- is an attribute of knowledge that tells interpreter how you can intend use of knowledge. Instance of knowledge sort is :variable, float ,char and so on. Additionally datatype are set of values which may be expressed as char, values or outcomes.Operators- an operator is a logo that tells a compiler to carry out a mathematic drawback TYPES OF OPERATORS: 1.Increment and decrement 2.Relational Operator 3.Arithmetic 4.Logical operartor 5.Bitwise operator

Equal to Better than Lower than Addition Subtraction Product Division Multiplication Sq. root we will do with C Language shouldn’t be restricted to the above listing of operations. We are able to make our personal operators by utilizing the pre-defined operators and utilizing them in our expressions. C Language has a built-in information varieties for integers, actual numbers and character. int is a primitive information sort which may retailer solely integers.float is a knowledge sort that may retailer actual quantity. char is a knowledge sort that may retailer solely character. struct is a knowledge construction that’s used to retailer a bunch of knowledge. struct is used to retailer the information which might be of identical datatype however totally different construction.struct is used to retailer the information which might be of identical datatype however totally different construction. A construction should have a reputation and a variable that shops the scale of that construction. Buildings are used to group information of various datatypes and construction may be additionally used to group the information of the identical datatype however totally different construction

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button