Summary of C learning – First program in C

Rate this post
  • The three primary constants and variable types in C are integer, float and character.
  • A variable name can be of maximum 31 characters.
  • Do not use a keyword as a variable name.
  • An expression may contain any sequence of constants, variables and operators.
  • Operators having equal precedence are evaluated using associativity.
  • Left to right associativity means that the left operand of a operator must be unambiguous whereas right to left associativity means that the right operand of a operator must be unambiguous.
  • Input/output in C can be achieved using scanf( ) and printf( )functions.


Related Posts

  • 54
    Welcome to the C Knowledge Base and Tutorial   Introduction to C Programming Start Learning C Programming What is C? Why We should learn C C Character Set : Constants, Variables and Keywords Constant and Variable in C: C Keywords: Types of C Constant Rules for Constructing Integer Constants Rules…
    Tags: constants, program, variable, types, tutorial, integer, character, variables, float, operators
  • 53
    A character denotes any alphabet, digit or special symbol used to represent information. Here is the list of valid character set (Alphabets, Numbers and Symbols) allowed in C. The alphabets, numbers and special symbols when properly combined form constants, variables and keywords. Let us see what are ‘constants’ and ‘variables’…
    Tags: variable, constants, character, variables, tutorial, learn, learinging
  • 49
    An entity that may vary during program execution is called a variable. Variable names are names given to locations in memory. These locations can contain integer, real or character constants. In any language, the types of variables that it can support depend on the types of constants that it can handle. This…
    Tags: variable, types, tutorial, learn
  • 48
    C allows usage of three logical operators, namely, &&, || and !. These are to be read as ‘AND’ ‘OR’ and ‘NOT’ respectively. There are several things to note about these logical operators. Most obviously, two of them are composed of double symbols: || and &&. Don’t use the single…
    Tags: program, printf, operators, three, operator, learn, tutorial
  • 45
    In this article we will learn about the NOT operator, written as !. This operator reverses the result of the expression it operates on. For example, if the expression evaluates to a non-zero value, then applying ! operator to it results into a 0. Vice versa, if the expression evaluates…
    Tags: operator, expression, program, learn, tutorial

Satya Prakash

VOIP Expert: More than 8 years of experience in Asterisk Development and Call Center operation Management. Unique Combination of Skill Set as IT, Analytics and operation management.

Leave a Reply

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

%d bloggers like this: