Join Regular Classroom : Visit ClassroomTech

Programming in C

ASCII Values in C

ASCII values in C: ASCII stands for American Standard Code for Information Interchange. This is a character encoding scheme used in electronics communication. Each ASCII code requires 7 bits in memory. The ASCII table is given bellow : Example : C C #include<stdio.h> int main() { char a; printf(“Enter a character : “); scanf(“%c”,&ch); printf(“n

ASCII Values in C Read More »

Shift operator in C

Shift operator: There are two types of shift operator in C programming language.  Left shift operator Right shift operator 1. Left shift (<<) : The Left Shift (<<) operator is called as the arithmetic left shift operator. This operator works for both signed as well as unsigned numbers and also to types like int, long,

Shift operator in C Read More »

clrscr() command in C

clrscr() : clrscr() function is a pre-defined function in the header file conio.h(console input output). It is used to clear the data from the console screen. This function only works in “Turbo c++” compiler only. Using of clrscr() function in C is always optional but it should be place after variable or function declaration only.

clrscr() command in C Read More »

Structure in C

What is structure? A structure is a collection of one or more variables, possibly of different types, grouped together under a single name for convenient handling. Structures help to organize complicated data, particularly in large programs, because they permit a group of related variables to be treated as a unit instead of as separate entities.

Structure in C Read More »

Typedef in C

typedef: is a reserved keyword in C and C++ language used to give any datatype an alias name. Why we use typedef? Normally, we use the standard name of data type like int, unsigned int, char, struct etc. to represent the feature of variable and function in the program. typedef replaced standard data types with

Typedef in C Read More »