You are on page 1of 13

Top of Form

Bottom of Form
·Home
·C
·C++
·C#
·Java
·SQL
·HTML
·CSS
·JavaScript
·XML
·Ajax
·Android
·Cloud
·Design Pattern
·Quiz
·Projects
·Interview Q
·Comment
·Forum
C Tutorial
What is C LanguageHistory of CFeatures of CHow to put in CFirst C ProgramCompilation Process
in Cprintf scanfVariables in CData Types in cKeywords in cC IdentifiersC OperatorsC CommentsC
Format SpecifierC Escape SequenceASCII cost in CConstants in CLiterals in CTokens in CC
BooleanStatic in CProgramming Errors in CCompile time vs RuntimeConditional Operator in
CBitwise Operator in C2s supplement in CC Fundamental Test
C Control Statements
C if-elseC switchif-else vs switchC LoopsC do-at the same time as loopC at the same time
as loopC for loopNested Loops in CInfinite Loop in CC spoilC continueC gotoType CastingC Control
Statement Test
C Functions
What is characteristicCall: Value & ReferenceRecursion in cStorage ClassesC Functions Test
C Array
1-D Array2-D ArrayReturn an Array in CArray to FunctionC Array Test
C Pointers
C PointersC Pointer to PointerC Pointer ArithmeticDangling Pointers in Csizeof() operator in Cconst
Pointer in Cvoid pointer in CC Dereference PointerNull Pointer in CC Function PointerFunction
pointer as argument in CC Pointers Test
C Dynamic Memory
Dynamic memory
C Strings
String in CC gets() & puts()C String FunctionsC strlen()C strcpy()C strcat()C strcmp()C strrev()C
strlwr()C strupr()C strstr()C String Test
C Math
C Math Functions
C Structure Union
C Structuretypedef in CC Array of StructuresC Nested StructureStructure Padding in CC UnionC
Structure Test
C File Handling
C File HandlingC fprintf() fscanf()C fputc() fgetc()C fputs() fgets()C fseek()C rewind()C ftell()
C Preprocessor
C PreprocessorC MacrosC #includeC #outlineC #undefC #ifdefC #ifndefC #ifC #elseC #errorC
#pragmaC Preprocessor Test
C Command Line
Command Line Arguments
C Misc
C ExpressionsData SegmentsFlow of C ProgramClassification of Programming LanguagesEnum in
CWhat is getch() in CWhat is the characteristic name in Ctypedef vs outline in C
C Programming Test
C Programming Test
C Programs
Top 10+ C ProgramsFibonacci SeriesPrime NumberPalindrome
NumberC application to evaluate the 2 stringsStrings Concatenation in CFactorialArmstrong
NumberSum of digitsCount the wide variety of digits in CReverse NumberSwap NumberPrint
"Hello" with out ;Assembly code in CC application with out mainMatrix MultiplicationDecimal to
BinaryNumber in CharactersAlphabet TriangleNumber TriangleFibonacci TriangleHexadecimal to
BinaryHexadecimal to DecimalOctal to Hexadecimal in CStrong wide variety in CStar Program in
Citoa Function in CExtra Long Factorials in CLeap 12 months application in CPerfect Number
Program in CVariables vs ConstantsRound Robin Program in C with OutputC Program to locate the
roots of quadratic equationType Casting vs Type ConversionHow to run a C application in Visual
Studio CodeModulus Operator in C/C++Sum of first N herbal numbers in CBig O Notation in CLCM
of numbers in Cat the same time as loop vs do-at the same time as loop in CMemory Layout in
CBalanced Parenthesis in CBinary to Decimal Number in CGCD of numbers in
CGetchar() characteristic in Cflowchart in CSimpson MethodPyramid Patterns in CRandom
Function in CFloyd's Triangle in CC Header Filesabs() characteristic in CAtoi() characteristic in
CStructure Pointer in Csprintf() in CRange of Int in CC Program to transform 24 Hour time to
twelve Hour timeWhat is double in CWhat is the principle in CCalculator Program in CCalloc in
Cuser-described vs library characteristic in CMemset CASCII Table in CStatic characteristic in
CReverse a String in CTwin Prime Numbers in Cstrchr() characteristic in CStructure of a
C applicationPower Function in CMalloc in CTable Program in CTypes of Recursion in CConvert
Uppercase to Lowercase in CUnary Operator in CArithmetic Operator in CCeil Function in
CRelational Operator in CAssignment Operator in CPre-increment and Post-increment Operator in
CPointer vs array in CRestrict key-word in CThe exit() characteristic in CConst Qualifier in
CSequence Points in CAnagram in CIncrement and Decrement Operators in CLogical AND
Operator in CShift Operators in CNear, Far, and Huge guidelines in C languageMagic Number in
CRemove Duplicate Elements from an Array in CGeneric Linked listing in
Cisalnum() characteristic in Cisalpha() characteristic in CBisection Method in
Csnprintf() characteristic in CRemove an detail from an array in CSquare Root in
Cisprint() characteristic in Cisdigit() characteristic in Cisgraph() characteristic in CLogical NOT (!)
Operator in CSelf-referential structureBreak Vs. Continue in CFor vs. While loop in CAbort()
Function in CAssert in CFloor() Function in Cmemcmp() in CFind Day from Day in C with out Using
FunctionFind Median of 1D Array Using Functions in CFind Reverse of an Array in C Using
FunctionsFind Occurrence of Substring in C the usage of FunctionFind out Power with out Using
POW Function in C
MCQ
C language MCQC language MCQ Part 2
Math
Prime Numbers ListComposite Numbers ListSquare Numbers ListBinary Numbers ListFibonacci
Numbers ListOunces in a CupOunces in a PoundOunces in a GallonOunces in a LiterOunces in a
PintOunces in a QuartOunces in a Tablespoon
C Interview
C Interview Questions
Next →
C Programming Language Tutorial
C language Tutorial with programming technique for novices and professionals, facilitates you
to recognize the C language educational easily. Our C educational explains every topic
with applications.
The C Language is advanced via way of means of Dennis Ritchie for
creating machine packages that at once engage with the hardware gadgets such as drivers,
kernels, etc.
C programming is taken into consideration because the base for different programming
languages, this is why it's miles referred to as mom language.
It may be described via way of means of the subsequent ways:

1. Mother language
2. System programming language
3. Procedure-oriented programming language
4. Structured programming language
5. Mid-degree programming language
1) C as a mom language
C language is taken into consideration because the mom language of all the present
day programming languages due to the fact maximum of the compilers, JVMs, Kernels, etc. are
written in C language, and maximum of the programming languages comply with C syntax, as an
example, C++, Java, C#, etc.
It gives the center standards like the array, strings, functions, file handling, etc. that are getting
used in lots of languages like C++, Java, C#, etc.
2) C as a machine programming language
A machine programming language is used to create machine software. C language is
a machine programming language due to the fact it can be used to do low-degree programming
(as an example motive force and kernel). It is typically used to create hardware gadgets, OS,
drivers, kernels, etc. For example, Linux kernel is written in C.
It cannot be used for net programming like Java, .Net, PHP, etc.
3) C as a procedural language
A system is referred to as a characteristic, method, routine, subroutine, etc. A procedural
language specifies a sequence of steps for this system to resolve the hassle.
A procedural language breaks this system into functions, data structures, etc.
C is a procedural language. In C, variables and characteristic prototypes should be
declared earlier than getting used.
4) C as a dependent programming language
A dependent programming language is a subset of the procedural language. Structure manner to
interrupt a application into elements or blocks in order that it could be smooth to recognize.
In the C language, we spoil this system into elements the usage of functions. It makes this
system simpler to recognize and modify.
5) C as a mid-degree programming language
C is taken into consideration as a middle-degree language due to the
fact it helps the characteristic of each low-degree and excessive-degree languages. C
language application is transformed into meeting code, it helps pointer arithmetic (low-
degree), however it's miles device independent (a characteristic of excessive-degree).
A Low-degree language is particular to one device, i.e., device dependent. It
is device dependent, speedy to run. But it isn't smooth to recognize.
A High-Level language isn't particular to one device, i.e., device independent. It is
simple to recognize.
C Program
In this educational, all C applications are given with C compiler so that you may fast extrade the
C application code.
File: main.c
1.#include 
2.int main() {  
3.printf("Hello C Programmingn");  
4.return 0;  
5.}  
A unique description of above application is given in subsequent chapters.
C Programming Index
C Tutorial
oWhat is C Language
oHistory of C
oFeatures of C
oHow to put in C
oFirst C Program
oFlow of C Program
oprintf scanf
oVariables in C
oData Types in c
oKeywords in c
oC Operators
oC Comments
oC Escape Sequence
oConstants in C
oC Fundamental Test
C Control Statements
oC if-else
oC switch
oC Loops
oC do-at the same time as loop
oC at the same time as loop
oC for loop
oC spoil
oC continue
oC goto
oType Casting
oC Control Statement Test
C Functions
oWhat is characteristic
oCall: Value & Reference
oRecursion in c
oStorage Classes
oC Functions Test
C Array
o1-D Array
o2-D Array
oArray to Function
oC Array Test
C Pointers
oC Pointers
oC Pointer to Pointer
oC Pointer Arithmetic
oC Pointers Test
C Dynamic Memory
oDynamic memory
C Strings
oString in C
oC gets() & puts()
oC String Functions
oC strlen()
oC strcpy()
oC strcat()
oC strcmp()
oC strrev()
oC strlwr()
oC strupr()
oC strstr()
oC String Test
C Math
oC Math Functions
C Structure Union
oC Structure
oC Array of Structures
oC Nested Structure
oC Union
oC Structure Test
C File Handling
oC File Handling
oC fprintf() fscanf()
oC fputc() fgetc()
oC fputs() fgets()
oC fseek()
oC rewind()
oC ftell()
C Preprocessor
oC Preprocessor
oC Macros
oC #include
oC #outline
oC #undef
oC #ifdef
oC #ifndef
oC #if
oC #else
oC #error
oC #pragma
oC Preprocessor Test
C Command Line
oCommand Line Arguments
C Programming Test
oC Programming Test
C Programs
oTop 10+ C Programs
oFibonacci Series
oPrime Number
oPalindrome Number
oFactorial
oArmstrong Number
oSum of digits
oReverse Number
oSwap Number
oPrint "Hello" with out ;
oAssembly code in C
oC application with out main
oMatrix Multiplication
oDecimal to Binary
oNumber in Characters
oAlphabet Triangle
oNumber Triangle
oFibonacci Triangle
C Programming Test
oC Programming Test
C Fundamental Test
oC Fundamental 1
oC Fundamental 2
oC Fundamental 3
oC Fundamental 4
C Control Test
oC Control Statement 1
oC Control Statement 2
oC Control Statement 3
oC Control Statement 4
C Function Test
oC Functions 1
oC Functions 2
oC Functions 3
oC Functions 4
C Array Test
oC Array 1
oC Array 2
oC Array 3
oC Array 4
C Pointers Test
oC Pointers 1
oC Pointers 2
oC Pointers 3
oC Pointers 4
C String Test
oC String 1
oC String 2
oC String 3
oC String 4
C Structure Test
oC Structure 1
oC Structure 2
oC Structure 3
oC Structure 4
C Preprocessor Test
oC Preprocessor 1
oC Preprocessor 2
oC Preprocessor 3
oC Preprocessor 4
C Interview
oC Interview Questions
Prerequisite
Before studying C Programming, you should have the basic information of Computer
Fundamental.
Audience
Our C Programming educational is designed to assist novices and professionals.
Problem
We guarantee that you'll now no longer locate any mistake on this C Language Tutorial. But
if there's any mistake, please put up the hassle in the touch form.
Next TopicHistory of C
Next →
For Videos Join Our Youtube Channel: Join Now
Feedback
oSend your Feedback to feedback@javatpoint.com
Help Others, Please Share
Learn Latest Tutorials
Splunk
SPSS
Swagger
Transact-SQL
Tumblr
ReactJS
Regex
Reinforcement Learning
R Programming
RxJS
React Native
Python Design Patterns
Python Pillow
Python Turtle
Keras
Preparation
Aptitude
Reasoning
Verbal Ability
Interview Questions
Company Questions
Trending Technologies
Artificial Intelligence
AWS
Selenium
Cloud Computing
Hadoop
ReactJS
Data Science
Angular 7
Blockchain
Git
Machine Learning
DevOps
B.Tech / MCA
DBMS
Data Structures
DAA
Operating System
Computer Network
Compiler Design
Computer Organization
Discrete Mathematics
Ethical Hacking
Computer Graphics
Software Engineering
Web Technology
Cyber Security
Automata
C Programming
C++
Java
.Net
Python
Programs
Control System
Data Mining
Data Warehouse
Javatpoint Services
JavaTpoint gives too many excessive first-rate services. Mail us on hr@javatpoint.com, to get
more facts approximately given services.

 Website Designing
 Website Development
 Java Development
 PHP Development
 WordPress
 Graphic Designing
 Logo
 Digital Marketing
 On Page and Off Page SEO
 PPC
 Content Development
 Corporate Training
 Classroom and Online Training
 Data Entry

Training For College Campus


JavaTpoint gives university campus schooling on Core Java, Advance Java, .Net, Android,
Hadoop, PHP, Web Technology and Python. Please mail your requirement at hr@javatpoint.com.
Duration: 1 week to two week
Like/Subscribe us for present day updates or newsletter 
LEARN TUTORIALS
Learn JavaLearn Data StructuresLearn C ProgrammingLearn C++ TutorialLearn C# TutorialLearn
PHP TutorialLearn HTML TutorialLearn JavaScript TutorialLearn jQuery TutorialLearn Spring
Tutorial
OUR WEBSITES
Javatpoint.comHindi100.comLyricsia.comQuoteperson.comJobandplacement.com
OUR SERVICES
Website Development
Android Development
Website Designing
Digital Marketing
Summer Training
Industrial Training
College Campus Training
CONTACT
Address: G-13, 2nd Floor, Sec-3
Noida, UP, 201301, India
Contact No: 0120-4256464, 9990449935
Contact UsSubscribe UsPrivacy PolicySitemapAbout Me
© Copyright 2011-2021 www.javatpoint.com. All rights reserved. Developed via way of means
of JavaTpoint.

You might also like