Skip to main content

Posts

Cafe Billing System In Java | Swing Project | Eclipse | Final Project | ...

New Video Is out now ...

Basic Input / Output Function used in 'C' Language

Basic Input / Output Function used in 'C' Language          We know that the c language is accompanied by a collection of library functions, which includes a number of input/output functions.these functions allow the transfer of information between the computer and the input/output devices.               There are multiple input/output functions in 'C'. Main Two of them are as follows:-   Input function : -                 Data (values) can be accepted in the program by means of some functions, which are already defined in the standard c library. The most common function is the  scanf()   function.       Scanf() function: -           Data can be entered into the running program from a input device(keyboard). The input will be be taken by the c library functions scanf() . This function can be used to take inp...

Identifiers In C Programming Language.

Identifiers used In C                  A c program consists of two types of elements, user defined and pre-defined.identifier is nothing but a name given to those elements. An identifier is a word used by programmer to name a variable,function or label.identifiers consists of letters and digits,in any order , except that the first character must be a letter.Both upper and lowercase letters can be used. Identifiers are :- 1.  Keywords. 2.  Variables. 3.  Constants. 4.  Numbers. 5.  Data types keywords :-               Keywords are nothing but system defined identifiers. Keywords are reserved words of the language.they have specific meaning in the language and cannot be used by the programmer as variable or constant names. c language specifies 32 keywords and other reserved keywords. Keywords are listed below : auto If r...

Introduction to 'C' Programming language.

Introduction to C Programming language              C is a high level,general purpose,structured programming language.instructions of c consist of terms that are very closely same to algebraic expressions,consisting of certain English keywords.  By design, C provides constructs that map efficiently to typical  machine instruction  and has found lasting use in applications previously coded in  assembly language . Such applications include  operating systems  and various  application software  for computers, from  supercomputers  to  embedded systems .              C was originally developed at   Bell Labs  by  Dennis Ritchie  with their colleague Ken Thompson between 1972 and 1973 to make utilities running on  Unix . Later, it was applied to re-implementing the kernel of the Unix operating system. During the 19...

Simple 'c' program to find square of a given number for beginners | SM53 Just Coding

 Simple Program To Find Square Of A Given Number     It is the one of the simple programs. In this we have used very simple logic of finding square of a given number which we have studied in school. The logic is very simple as below :-           square of 2 = 2 * 2,           that means square of no = no * no we have implemented it in following program : Code :-              #include<stdio.h>             #include<conio.h>             void main()             {                int n,sq;                printf("Enter a Number: ");                scanf("%d",&n);                sq = n * n; ...