Documente Academic
Documente Profesional
Documente Cultură
eta
(http://www.studytonight.com/)
Search
C language
About Us (http://www.studytonight.com/about)
Suggest (http://www.studytonight.com/suggest)
Share
Share
" C is most widely used general-purpose language today in operating systems, and embedded system development. "
Share
(http://www.addthis.com/bookmark.php?v=
US&s=linkedin&url=http%3A%2F%2Fwww.st
syntax.php&title=C%20Language%20Syntax
/51e59d84528ae13c/2&frommenu=1&uid=51e
input-output-function.php&tt=0&captcha_provi
Share
Hom e (http:/ / w w w . studytoni ght. com / )
Basics of C Language
Overview of C (overview-of-
c.php)
C language syntax specify rules for sequence of characters to be written in C language. The rule specify how
Features of C (features-of-
character sequence will be grouped together to form tokens. A smallest individual unit in c program is known
c.php)
as C Tokens. Tokens are either keyword, identifier, constant, variable or any symbol which has some meaning
program.php)
C Input / Output (c-inputoutput-function.php)
Example of C tokens,
int
curly braces { }
comments
semicolon ;
Comments
identifier.php)
Comments are simple text in your C program that increases readability of programs. Compiler ignore anything
Operators in C Language
(operators-in-c.php)
Data Types in C (datatypein-c.php)
Example of comments :
//This is a comment
Variables in C (Variables-inc.php)
Decision Making (decisionmaking-in-c.php)
/*This is a comment*/
/*This is a long
and valid comment*/
//this is not
a valid comment
Wrong Syntax
array.php)
Storage classes (storage-
C is a case sensitive language so all C instructions must be written in lower case letter.
classes-in-c.php)
Functions in C
Introduction to Functions
(user-defined-functions-inc.php)
Types of Function calls
(types-of-function-calls.php)
Passing Array to function
(array-in-function-in-c.php)
Structures in C
Introduction to Structures
(structures-in-c.php)
Typedef (typedef.php)
Unions (unions-in-c.php)
Pointers in C
Pointers concept (pointersin-c.php)
Prev (c-input-output-function.php)
Next (keywords-and-identifier.php)
allocation-in-c.php)
Command line argument
(command-lineargument.php)
C programs
Find Factorial of a Number
(factorial-program.php)
Reverse a String (reverse-astring-program.php)
Find Fabonacci Series
(fabonacci-seriesprogram.php)
Find sum of a digit (sum-ofdigit-program.php)
Sorting an Array element
(sort-array-elementprogram.php)
Swapping two number
(swapping-two-numberprogram.php)
Find largest number of an
array (find-largest-elementusing-recursion.php)
Pallindrome Program
(pallindrome-program.php)
Remove duplicate element
in an array program
(remove-duplicate-elementprogram.php)
C++ (http://www.studytonight.com/cpp)
C Language (http://www.studytonight.com/c)
DBMS
Servlet (http://www.studytonight.com/servlet)