• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Sql
  • php
  • C program
  • Seo

Codelack.com

  • Home
  • C++
  • networking
  • Sql server
    • what is rdbms | one to one | one to many | many to many relation-codlack
    • sql server create table
    • code rules in sql server
  • ASP.NET
    • control state in asp.net
    • cookie in asp.net
    • datalist control in asp .net
    • Using ASP.NET To Send Email
    • application state in asp.net
    • file upload control in asp.net
  • contact us
  • Data structure
    • what is Data structure
    • doubly linked list program in c
    • Array in data structure
    • circular queue in data structure
    • Linear data structure
    • Delete node at any position in singly linked list
    • dequeue in data structure
    • implementation of stack using a Linked list in data structure
    • implementation of stack using array in data structure
    • linked list algorithm
    • linked list in data structure
  • C
    • continue and break in c
    • history of c programming language
    • array program in c
    • c programming practice questions
    • enumeration in c
    • C programs with solutions
    • Characteristic of c
    • print 1 to 100 without using loop in c program
    • two single dimension 2D array in c
  • php
    • php
    • Variables in PHP
    • Scalar data types in php
    • Output function in php
    • how to use php string functions | example of string function
    • point to point configuration
    • error in php
    • Array in  php

Characteristic of c

Characteristic of c

Keywords

it is reserved  word, some meaning is already allocated to that word and  that  meaning can recognized by the compiler.

In ‘c’ program language, total no of keywords are 32. Example while, for, if, else, break, const, short etc.

Operators

it is special kind of syntax, which performs a particular task

In  c program  language , total no of operators are 44,

Example  +,_,*,/,%,=,& etc.

Separators

By using separators , we can separator an individual unit called token

In c program language , total no of separators 141.

Example -‘,’,; , : ,‘’, “”, {}, space. etc.

Constants

It is fixed one , reversechanged during the execution of the program.

Constants are classified into two types.

  1. Alphanumeric constants
  2. Numeric constants

Alphanumeric constants

By using alphanumeric constant,we can represent 9 alphabets, 44 operators, 14 separators, 0-9 numeric carats constants&some special kind of symbols.

Under alphanumeric constants , weare having only one type of data value, i.e. char.

In c program language , total no of characters are 256.

When we are working with the character, character, representation must be with in single quotation mark ( ‘’ )only.

With in the single quotation mark, any content is called character constant

Example -‘A’ , ‘d’ , ‘+’ , ‘@’etc.

Numeric constants

By using numeric constant , we can represent value type data.

Numeric constants are classified into two types . such as :-int , float.

When we need to represent the values without any fractional parts, then go for an integer type.

          example –  17.5 , 87.5,  -17.78 etc.

Int, float and char are called basic data types or basic data elements, because any data is a combination of these three types of constant types only.

Predefined function

The functionality of this function is already implemented, which is available along with compiler.

As a programmer , whenever  we need to perform the  task, then simply we require to call predefined function.

Example :-   printf(), scanf(), clrscr(), getch(), gettime(), getdate(), delay(), etc.

Syntax

The basic syntax of the c language is every statement should end with semicolon (;) .

 

Primary Sidebar

sql

  • introduction of sql
  • database management system
  • hierarchical database management system
  • what is rdbms | one to one | one to many | many to many relation-codlack
  • codd rules in sql server
  • Character Data Type
  • constraint unique
  • sql server create table

Ads

data structure

  • Data structure
  • Linear data structure
  • Array in data structure
  • What is a algorithm
  • stacks in data structure
  • queue data structure
  • dequeue in data structure
  • Priority queue
  • circular queue in data structure
  • linked list algorithm
  • Delete node in singly linked list
  • tree in data structure
  • implementation of stack using array in data structure
  • implementation of stack using a Linked list in data structure
  • Doubly Linked List Implementation

C programming

  • history of c programming language
  • C programs with solutions
  • Characteristic
  • constraint unique
  • continue and break
  • doubly linked list program in c
  • dynamic memory allocation
  • enumeration
  • print 1 to 100 without using loop
  • Variable declaration

c++

  • Introduction to C++ | similarities of  C++ structure and  class
  • default argument in c++
  • access specifiers in c++
  • Function In C++
  • friend function in c++
  • constructor in c++
  • destructor in c++ | How to call destructor C++
  • exception handling in c++

Categories

array multiplication (1) asp.net (10) B.ed (1) C# (1) c# (1) C++ (2) C program (3) FormView control (1) php (2) Seo (5) Sql (1) Uncategorized (12)
disclaimer

Copyright © 2022 · codelack.com