Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Programming in C

Rating
-
Sold
-
Pages
5
Uploaded on
14-06-2024
Written in
2023/2024

C is a procedural language that provides no support for objects and classes. C++ is a combination of OOP and procedural programming languages. C has 32 keywords and C++ has 63 keywords. C supports built-in data types, while C++ supports both built-in and user-defined data types.

Show more Read less
Institution
Course

Content preview

PROGRAMMING IN C


• C is a programming language developed at AT & T’s Bell Laboratories of USA . In 1972
it was designed and written by a man named Dennis Ritchie. In the late Seventies C
began to replace the more familiar languages of that time like PLALGOL, etc.
• It was initially designed for programming UNIX Operating system. Now the software
tool as well as the C compiler is written in C.



• Learning C is similar and easier .

• Instead of straight-away learning how to write programs, we must first know what
alphabets, numbers and special symbols are used in C, then how using them constants,
variables and keywords are Constructed, and finally how are these combined to form an
instruction. A group of instructions would be combined later on to form a program.



• A computer program is just a collection of the instructions necessary to solve a specific
problem.
• The basic operations of a computer system form what is known as the computer’s
instruction set. And the approach or method that is used to solve the problem is known as
an algorithm.

• So for as programming language concern these are of two types.


1) Low level language
2) High level language

Low level language: Low level languages are machine level and assembly level language. In
machine level language computer only understand digital numbers i.e. in the form of 0 and 1.

High level language: These languages are machine independent, means it is portable. The
language in this category is Pascal, Cobol, Fortran etc. High level languages are understood by
the machine.

Three types of translator are there:
• Compiler

, • Interpreter



• Assembler



Compiler and interpreter are used to convert the high level language into machine

level language. The program written in high level language is known as source program and the
corresponding machine level language program is called as object program. Both compiler and
interpreter perform the same task but there working is different. Compiler read the program at-a-
time and searches the error and lists them. If the program is error free then it is converted into
object program. When program size is large then compiler is preferred. Whereas interpreter read
only one line of the source code and convert it to object code. If it check error, statement by
statement and hence of take more time.



Integrated Development Environments (IDE)


The process of editing, compiling, running, and debugging programs is often managed by a
single integrated application known as an Integrated Development Environment, or IDE for
short.



Structure of C Language program



1 ) Comment line


2) Preprocessor directive



3 ) Global variable declaration



4) main function( )

{

Written for

Course

Document information

Uploaded on
June 14, 2024
Number of pages
5
Written in
2023/2024
Type
SUMMARY

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
midhunasatheesh

Get to know the seller

Seller avatar
midhunasatheesh
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions