Wednesday, 20 September 2017

Single link list upto 20 number

Q : Write a program to create a link list. There should be 20 nodes in the list, each node contains an integer between 1-20. The list should be printed at the end.

Solution : 

typedef struct nlist
     int data;
     struct nlist *next;
node *start=NULL;
node* create(int);
void add(int);

Tuesday, 19 September 2017

Combine multiple css link into single link

A website has more than external css file which must be reference on page where it has to use. When a lot number of css file being used it increase complexity for web developer because of add many external link.

So for sake of simplicity of your web page. You can use @import. Which help you to add more than one external css file referenced by a single line? You need to add all your external css file reference into a single css file. Add this file link to your web page and enjoy compress coding….

CSS File



Sunday, 17 September 2017

Average of every third number

Q : Write a ‘C’ program to compute the average of every third integer lying between 1 and 200? Include  appropriate documentation?

Solution :


void main()
     int i,sum,avg;

Saturday, 16 September 2017

print a character as per given number

Q : Write a program having function print_char( ) which receives a character and n integer as arguments. The function should print n times the entered character.

Solution : 

void print_char(char,int);
void main()