Thursday, 2 February 2017

Half Pyramid C Language

Half Pyramid C Language Code
/*   ################################
     Girfa Student Help
     Half Pyramid
     for more visit : http://girfahelp.blogspot.in/p/c-language.html
     ################################

Reverse Triangle C Language

Reverse Triangle C Language C Language Code


/*   ################################
     Girfa Student Help
     Reverse triangle
     for more visit : http://girfahelp.blogspot.in/p/c-language.html
     ################################

Link List Count Function

NIELIT O Level Solved Paper
January 2016

Q 9 B. Define the structure of a node of a singly linked list and use it to write a function to count the
number of nodes in a singly linked list. The function should accept a pointer to the first node of
the list and it should return the number of nodes in the list.

Solution : 

/*   ************************************************
           Girfa : Student Help
           Counting node in link list
           for more program visit : http://girfahelp.blogspot.com/p/c-language-assignment.html
     *************************************************/

Wednesday, 1 February 2017

Simple Triangle C Language

Simple Triangle C Language Code

While Loop Implementation :

#include<stdio.h>
void main()
{
     int i,j;
     i=1;
     while(i<=5)
     {
           j=1;
           while(j<=i)
           {
                printf("*");
                j++;
           }
           printf("\n");
           i++;
     }
}