• Call Us: +91 9437911966
  • Email Us: info@studentstutorial.com
  • Home
  • C Examples
  • Server Side
    • PHP
    • Java
    • CodeIgniter
    • Laravel
    • JSP
    • JDBC
  • Frontend
    • HTML
    • CSS
    • Javascript
    • jQuery
    • AJAX
    • FPDF
    • TCPDF
  • APP & DB
    • Android
    • Cordova
    • SQL
    • Oracle
  • Project
C Tutorial C Introduction C Characteristic C Comments C Operator C Assign Operator C Arithmetic Oper.. C Logical Operator C Modulus Operator C Variable C Initialise Variable C Print F C Translators C Programming C Control Flow C If Else Statement C Nested If Else C Loops C While Loops C For Loops C Do While C Nested Loops

Characteristics Of C

  • Students Tutorial
  • 08 jun 2020
   

To develop a program what fundament components are required those are called characteristics of c.

In C programming Lang. we a having 6 characteristics i.e.

  • Operator
  • Keywords
  • Separators
  • Constants
  • Pre – define functions
  • Syntax

1-Keyword - It is a reserve word, some meaning is already available to this word & that meaning automatically recognizable by compiler.

2-Operator - It is a special kind of symbol which performs a particular task.In C Prog .lang. we are having 44 operators ex- +, ─, *….

3-Separators - By using separator ,we can separate,an individual unit called token.In C Prog.Lang.total no.of seperators are 14. Ex: - , ; ‘ ‘ “ “ { } ,space,etc.

4-Constants - It is a fixed one never change during the execution of program.

In C, C constants are classified into 2 types-

  1. Alpha numeric constants
  2. Numeric constants

(I) Alpha numeric constants-   By using this constant we can Represent alphabets and 0-9 no’s Alpha numeric constants are classified into two types

  1. Character constants
  2. Sting constants

Any data if we are representing in single quotes then it is called character constant.
Ex- ‘A’,‘d’, ‘t’, ‘5’, ‘#’

When we are representing the data within the double quotes then it is called string constant.
Ex-“Fresh jobs” “Hello”

Under alpha numeric constant we having only type of data values i.e. char.

In C programming Lang.,total no.of characters are 256.

(II) Numeric Constant:-  By using numeric constant we can represent value type data numeric constant are classified into 2 types-

  1. Integer
  2. Float

When we are representing the numeric values without any fraction parts then it is called integer.
Ex- 12, -12, 48, -48, 1234;

When we are representing the numeric values with fractional parts then it is called Float.
Ex- 12.3, 14.85, 98.10

Note-Char, int and float are called basic data type or basic data elements bcz any data is a combination of these 3 types of constants.

(5)Pre-define function  -  These all are set of pre implemented functions which are available along with the compiler.

When we required to perform any specific task then we need to call pre- define function. Ex- print ( ), scan ( ), stroppy ( ), text background ( ), get time ( ), set data ( ).

The basic syntax of C Lang. is every statement should end with;

Student Tutorial is a online tutorial for web design and development. Here you can find easy example and explanation for each tutorial.
Copyright © 2016-2023 Student Tutorial

Server Side

  • PHP
  • Java
  • CodeIgniter
  • Laravel
  • JSP
  • JDBC

Frontend

  • HTML
  • CSS
  • Javascript
  • jQuery
  • AJAX
  • FPDF

App & Database

  • Android
  • Cordova
  • SQL
  • Oracle