Sunday 21 June 2020

File C Language


File

A computer file is a computer resource for recording data discretely in a computer storage device. Just as words can be written to paper, so can information be written to a computer file. Files can be edited and transferred through the internet on that particular computer system.

Saturday 20 June 2020

Sum of digit program C language

Q : Write a program to find the sum of the digits of a number.

Answer :


#include<stdio.h>
#include<conio.h>
/*##########################
     Girfa Student Help
     Sum of digits of a number
  ##########################*/
void main()
{
   

Difference between = and == operator C Language

Difference between = and == operator C Language

Assignment Operator

= is an assignment operator which transfer right  hand variable value to left hand side variable with over right mode.


int i=1,j=2;

Friday 19 June 2020

Prime number program 1 to 100

Q : Write a program to print all prime numbers from 1 to 100. Use nested loops, break or continue statement wherever necessary.

Answer : 



#include<stdio.h>
#include<conio.h>
/*##########################
     Girfa Student Help
     Prime number 1 to 100
  ##########################*/