Friday 4 August 2017

* Operator Pointer

Pointer is a special type of variable which hold address of a location in memory. * symbol is use to make pointer. You can manipulate any variable data though pointer from other function. Change will be permanent when it been done with pointer because pointer has actual physical location of a variable.

You can manipulate a variable data using pointer. By
  • First make a pointer variable
  • Assign address of variable to pointer
  • Access variable data though * operator

Sum of series

#include<stdio.h>
void main()
{
     int i,j,k=0;
     char sym='+';
     printf("Enter n>> ");
     scanf("%d",&i);

Thursday 3 August 2017

Multiplication Table

#include<stdio.h>
void table(int);
void main()
{
     int i;
     printf("Enter number>> ");
     scanf("%d",&i);
     table(i);
    

Flow Chart Factorial Number