String in c language

String definition -:  A string is a sequence of characters that is treated as a single data item.  Any group of character (except double quote sign) defined between double quotation marks is a string constant as like ” Vikarm is always right ” if we want to include a double quote in the string to … Read more String in c language

Array in C

Array Definition-: In many application we need to handle a large volume of data in terms of reading,processing and printing. to process such large amount of data we need a powerful data type that would facilitate efficient sorting accessing and manipulation of data items. C support a derived data type known as array. An array … Read more Array in C

Data structure in C

Data structure in C:– C support a rich set of derived and user define data type.Data structures are used to store data in a computer in an organized form. In C Programming Language Different types of data structures are; Array, Stack, Queue, Linked List, Tree. In term of computer programming language, a data structure may … Read more Data structure in C

Looping in C language

Introduction of looping -: Suppose if we want to calculate all sum of integer 1 to 1000. It is not possible in  IF statement. This will be written in this way sum = sum + n*n; 1000 time it is called the loop. In looping a sequence of statement are executed until some conditional for termination … Read more Looping in C language

Decision making and branching system in C language

 introduction-: we have seen that C program is a set of statements which are normally executed sequentially in the order in which they appear.this happens when no option or no repetition for certain calculation are necessary . how were in practice we have a number of situation where we may have to change the order … Read more Decision making and branching system in C language

Bitwise operators in c

Bitwise operators-: “c” has a districts of supporting special operation known as bitwise operator for manipulation of data at bit level.These operators are used for testing bit,shifting them right or left. bitwise operators may not be applied to float or double. these are bitwise operators as like here &            bitwise AND  … Read more Bitwise operators in c

Conditional operators in c

Conditional operators in c-:  In c language provide a special type operators . This is called the ternary operators.  A ternary operators pair in “?” is available in c language its called a conditional operators for example  if we have 3  condition  we can use this operators expression 1 ? expression 2 : expression 3 … Read more Conditional operators in c

Increment and Decrement operators

Increment and Decrement operators in C-: C language providing very useful two operators these are the Increment and Decrement operators. These are different type operator. Increment operator increase the value and decrement operator decrease the value. First is the increment operator(++ )-:  it adds one (1) in the value and  its called the increment operator. … Read more Increment and Decrement operators

Assignment operators in C

Assignment operators-: Assignment operators are used to assign the result of an expression to a variable. We have seen the usual assignment operators “= “. C has a set of shorthand assignment operators of the form as like               s op= exp ; where s is a variable, exp is … Read more Assignment operators in C

Logical operators in C

Logical operators in C-:  C support three type logical operators these are here  &&   meaning this AND  ||        meaning  this OR  !        meaning this   NOT The logical operators && and || are used when we test more then one condition and want to result. as like x>Y && x==10 brief … Read more Logical operators in C