C Classes In Nagpur With PSK Technologies PVT.LTd
- psk itservices
- Dec 28, 2019
- 2 min read
C Classes In Nagpur
Description:
Learn C from the expert with PSK Technologies PVT.LTD.
A little introduction of C :
C is a structured programming language developed by Dennis Ritchie in 1973 at Bell Laboratories.
It is one of the most popular computer languages today because of its structure, high-level abstraction, machine independent feature etc.
C language was developed to write the UNIX operating system,
hence it is strongly associated with UNIX, which is one of the most popular network operating system in use today
Writing program:
To write the c program, open the C console and write the following code:
#include <stdio.h>
int main()
{
printf("Hello,World"); //single line comment
return 0;
}
Keywords in c:
The keywords in C are char,int,float,switch,auto,const,struct,else,do,while,if,return,for,goto,etc.
Data variables, Data types and rules for Naming and declaring data variables:
Data types specify how we enter data into our programs and what type of data we enter.
C language has some predefined set of data types to handle various kinds of data that we can use in our program.
These datatypes have different storage capacities.
C language supports 2 different type of data types:
Primary data types:
These are fundamental data types in C namely integer(int), floating point(float), character(char) and void.
Derived data types:
Derived data types are nothing but primary datatypes but a little twisted or grouped together
like array, stucture, union and Pointer.
A variable in C language must be given a type, which defines what type of data the variable will hold.
It can be:
char: Can hold/store a character in it.
int: Used to hold an integer.
float: Used to hold a float value.
double: Used to hold a double value.
void.
Basic data types in c:
There are two types of data types:
1.Primary data types:These are fundamental data types in C namely integer(int), floating point(float), character(char) and void.
2.Secondary data types: secondary data types are nothing but primary datatypes but
a little grouped together like array, stucture, union and pointer.
Constants in C :
C Constants is the most fundamental and essential part of the C programming language.
Constants are categorized into two basic types, and each of these types has its subtypes/categories.
These are:
Primary Constants:
Numeric Constants
Integer Constants
Real Constants
Character Constants
Single Character Constants
String Constants
Backslash Character Constants
Secondary Constant:
Array
Pointer
Structure
Union
Enum
Input/output instructions:
Input means to provide the program with some data to be used in the program and
Output means to display data on screen or write the data to a printer or a file.
Tags: #C #trainning #PSKTchnologies #cfees #cinfo #cdetail #nagpur #historyofc #cclassesinnagpur #ccourcedetail #informationofc #bestclasseinnagpurforc
Comments