Saturday, 27 January 2018
Bootsrap Horizontal Responsive Menubar
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.
Disadvantage of nested if-else
Disadvantage of nested if-else
- When number of criteria increase complexity of maintenance of code is also increased
- If indenting is not proper maintained then it is difficult to debugging because a programmer faces difficulty associate statement to related block.
- Else-if leader does not specify better interpretation of business logic to programmer than switch case.
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.
Thursday, 25 January 2018
2D Array Input/Ouput
Q : Define a two dimensional array ‘int a[10][10]’. Write a ‘C’ program to initialize this array with numbers between 0 and 99. Then print the contents of ‘a’.
Solution :
/*==============================
Girfa Student Help
Program : 2D Array Input/Ouput
More Program
:http://girfahelp.blogspot.in/p/2-d-array-programming.html
================================*/
#include<stdio.h>
#include<conio.h>
#define MAX 10
void main()
{
int a[MAX][MAX],r,c,s;
clrscr();
for(r=0,s=
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.
Tuesday, 23 January 2018
2-D array sum using function
Q: Write a ‘C’ function to calculate matrix C such that C=A+B Use suitable loops. Make use of pointers if necessary
Solution :
/*==============================
Girfa Student Help
Program : 2-D array sum using function
More Program
:http://girfahelp.blogspot.in/p/2-d-array-programming.html
================================*/
#include<stdio.h>
#include<conio.h>
#define MAX 3
void add(int [][MAX],int
[][MAX],int [][MAX]);
void print(int [][MAX]);
void main()
{
int
a1[MAX][MAX],a2[MAX][MAX],a3[MAX][MAX],r,c;
clrscr();
printf("\nFirst Array
Input\n");
for(r=0;r<MAX;r++)
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)