Escolar Documentos
Profissional Documentos
Cultura Documentos
Also known as functional programming, this refers to the arithmetic section of any program. Functional
programming allows the computer to easily understand and carry out mathematical operations, without
any special conversion being done to the operation for the computer to understand it. So operation are
simply declared.
Key Characteristics
- Code doesn’t need to be long and complicated. Most functional programs are brief.
- Its structure is helpful in understanding it without mentally executing it
- It creates more correct and elegant programs over imperative programming
Disadvantage
- Not everyone can grasp the concept since there are no term and meanings involved
- Causes problems when debugging with debugger since functional program skips the conceptual
level
- It can be difficult for new programmers using C since some function symbols are different than
regular arithmetic operations
- Its difficult to find help when u run into problems since functional programming isn’t widely
used
Sample
1
{.
if (5>6)
printf(“5”);
else
printf(“6”);
}
2.
{
int n=0;
n=5*6
printf(“n is equal to %d”,n);
}