Saturday, April 30, 2016
Decision and some related program in C Programming
Decision
If we want to execute one set of statements when the condition is satisfied
and another set of statements when the condition is not satisfied, we use
decision making statements. The different type of decision making
Statements are as follows:
Friday, April 29, 2016
Example of some programs
Question 1: Write a program to accept five numbers from keyboard and find their sum and average.
Simple Input/Output Function in C
Input/Output Function in C
There exist several functions in C which can be
used to perform input/output operations. These functions are collectively known
as the standard input-output library and are predefined in special files called
header files.
Keywords,Identifiers,Comment,Header Files and Format Specifiers
Keyword
Keywords can be defined as reserved words and
they cannot be used as names for the variables or other user defined program
eliminates. Keywords are just like valid words in any language. The meaning of
the keywords has already been given to the compiler. Example: int, char, float,
if, else, break, continue, for, while, do case, etc.
Wednesday, April 27, 2016
Data Types and Operators in C- Programming Language
Data type
Data types
are the keywords that are used to define the type of value that a variable can
store all
c
compilers support three fundamental data types. They are
Tuesday, April 26, 2016
Introducton to C-Programming
What is C?
'C' is a programming language developed at Bells
lab of USA in 1972. It was designed and written by Dennis Ritchie. 'C' becomes
too much popular because it is reliable, simple, portable and easy to use. It
is not ties to anyone operating system or machine. It is also called System Programming
Language because it is useful for writing compiler and operating system. It has
been used to write major programs in many different domains.
Subscribe to:
Comments (Atom)
Popular Posts
-
C++ Programming Language: C++ is an object oriented programming language. It mainly emphasis on object rather than procedure. C++ ove...
-
HTML: HTML stands for Hyper Text Markup Language.Hypertext means links within and among web documents.It connects one document to another...
-
Looping (or Iteration): Repeating some portion of the program either for a fixed number of times or as long as the condition is satisfied ...
-
Accessing private member function of the class: It is normal way to declare all the data items in a private section and all the function ...