0% found this document useful (0 votes)
14 views7 pages

1 Introduction

Uploaded by

Durga Prasanna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views7 pages

1 Introduction

Uploaded by

Durga Prasanna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SNS COLLEGE OF

Kurumbapalayam (Po), Coimbatore – 641 107


TECHNOLOGY
An Autonomous Institution
Accredited by NBA – AICTE and Accredited by NAAC – UGC with A ‘ ’ Grade
Approved by AICTE, New Delhi & Affiliated to Anna University, Chennai

COURSE NAME : 23CST101–PROBLEMSOLVING&CPROGRAMMING

I YEAR / I SEMESTER

Unit 2-C PROGRAMMING BASICS

Topic : Introduction to C Programming


What is C?

• C is a general-purpose programming language created by Dennis Ritchie at the


Bell Laboratories in 1972.

• It is a very popular language, despite being old. The main reason for its
popularity is because it is a fundamental language in the field of computer
science.

• C is strongly associated with UNIX, as it was developed to write the UNIX


operating system.

04/12/2024 PROBLEM SOLVING AND C PROGRAMMING/INTRODUCTION TO ‘C’/ DURGALAKSHMI B/AIML/SNSCT 2/7


Features of C Programming
Language

1.Procedural Language
2.Fast and Efficient
3.Modularity
4.Statically Type
5.General-Purpose Language
6.Rich set of built-in Operators
7.Libraries with Rich Functions
8.Middle-Level Language
9.Portability
10.Easy to Extend
04/12/2024 3/7
PROBLEM SOLVING AND C PROGRAMMING/INTRODUCTION TO ‘C’/ DURGALAKSHMI B/AIML/SNSCT
APPLICATION OF C

1.Operating System
2. Embedded System
3. Gui(graphical User Interface)
4. New Programming Platforms
5. Google
6. Mozilla Firebox And Thunderbird
7. Mysql
8. Compiler Design
9. Assemblers
10. Text Editors
11. Drivers
12. Network Devices
13. Gaming And Animation 4/7
04/12/2024 PROBLEM SOLVING AND C PROGRAMMING/INTRODUCTION TO ‘C’/ DURGALAKSHMI B/AIML/SNSCT
Benefits of C Language

C is a powerful programming language that offers several benefits over other


languages.

•C is a universal language that can be used for various applications.

•C is a very efficient language that can write code that is both fast and reliable.

•C is a portable language, meaning that code written in C can be easily compiled


and run on various platforms.

•C is a well-established language with a large and active community of developers


constantly working on improving and creating new tools and libraries

04/12/2024 5/7
PROBLEM SOLVING AND C PROGRAMMING/INTRODUCTION TO ‘C’/ DURGALAKSHMI B/AIML/SNSCT
FUNDAMENTAL RULES

• C is a case sensitive language so all C instructions must be written in lower case letter. (printf
vs. PRINTF)

• All C statement must end with a semicolon. (;)

• Whitespace is used in C to describe blanks and tabs and improve the readability

• Whitespace is required between keywords and identifiers.

• All C statements can be written in one line or it can split into multiple lines

• Braces must always match upon pairs i.e., every opening brace must have a matching closing
brace ({…})

• Every C program must contain a Main() function

• Comments cant be nested.

• The variables must be declared in the declaration section before they are used

04/12/2024 6/7
PROBLEM SOLVING AND C PROGRAMMING/INTRODUCTION TO ‘C’/ DURGALAKSHMI B/AIML/SNSCT
THANK YOU

04/12/2024 7/7

You might also like