How Does Functioning(Breaking in seperate block according to the logic
using functions) a Programme effect the performance of the programme
The generic answer is... it depends. It is almost guaranteed that there
will be some overhead involved with functions. This means there will be
some deduction of performance. I say ALMOST guaranteed because it is never
100% guaranteed.
On some compilers everything might become linear assembly. From a source
code view there are a lot of functions and branching. From the machine
language view everything is linear as if the program was written as one
big function called main().
In other circumstances, a function call could be translated to a branch
instruction. On processors with caching and pipelines, a branch is very
costly. Breaking a program into many small functions could double or
triple the running time of the program.
Bottom line, it depends on many factors. All of these factors are outside
the domain of comp.lang.c. What you are looking for is more in line with
specific implementations of C language. Tere should be newsgroups to help
you out if you focus on your operating system and compiler.