Wednesday 22 July 2020

String Concatenation without library function | C Language

Q : Write a program to concatenate two strings. (Do not use inbuilt string function).


Answer : 



#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Concatenation string
==============================*/

Find Largest number from array using function program | C Language

Q : Write a program to input a set of numbers into an array. Pass the array to a function that finds and display the  largest number.?


Answer : 



#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Find largest no. in array using function
==============================*/
void find(int ar[5]);

Tuesday 21 July 2020

Structure record input-read in file | C Langauge

Q : Write a program to write records of students in a file, where each record consists of student name, roll number, CGPA, and address. Read the records back from the file and display them.

Code : 

#include<stdio.h>

#include<conio.h>

/*============================

     Girfa Student Help

     Structure write back to file

==============================*/

Full Pyramid program | C Language

Full pyramid program and size is given by user



Code :


#include<stdio.h>
#include<conio.h>
/*============================
     Girfa Student Help
     Full pyramid program
==============================*/