Friday, 19 June 2020
Goto C Language
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Wednesday, 17 June 2020
Continue in C language
What are the uses of Continue
Continue statement is transfers execution control at the top
of the loop where the condition checks. All statements after continue skips.
The closing bracket of the loop does the same task. Continue statements should
always be inside of a condition i.e. if, otherwise you may face infinite loop.
Continue statement in C language I feel that the least useful feature.
Example :
#include<stdio.h>
#include<conio.h>
/*##########################
Girfa Student Help
Example of continue
##########################*/
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Monday, 15 June 2020
Break Statement C Language
Break (Loop,Switch Case)
A break keyword is used to forcefully stop a loop. For
example, you have set a loop to run 100 times and your requirement got
fulfilled after 10 iterations then the loop will run 90 times which leads
wastage of time and resource. So the break statement is used to stop the loop
when need got complete.
Example: Write a program to input and sum ten numbers. Input
will stop immediately when a user-entered number is dividing by 11 then the
loop must be stopped.
#include<stdio.h>
#include<conio.h>
/*##########################
Girfa Student Help
Break Statement Example
##########################*/
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Single Link List
What is single link list
Link list is a dynamic data structure which occupies memory as required no memory wasted in contrast to Array. Data storage unit in list is called node as given below.
In link list node is created and dynamic space allocated while storing data. Next pointer point the next element of list you can add, delete data at any position of list. A start node points the first element of list.
One disadvantage of using arrays to store data is that arrays are static structures and therefore cannot be easily extended or reduced to fit the data set. Arrays are also expensive to maintain new insertions and deletions. In this chapter we consider another data structure called Linked Lists that addresses some of the limitations of arrays.
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Subscribe to:
Posts (Atom)