Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » BeginnersRSS Feeds

Program gives maximum and minimum value of datatype

Posted By: Alberta Miller     Category: C Programming     Views: 5426

Write a program gives maximum and minimum value of datatype.

Code for Program gives maximum and minimum value of datatype in C Programming

#include <stdio.h>
main()
{
int i,j ;
i = 1;
while (i > 0)
{
j = i;
i++;
}
printf ("the maximum value of integer is %d\n",j);
printf ("the value of  integer after overflow is %d\n",i);
}

  
Share: 


Didn't find what you were looking for? Find more on Program gives maximum and minimum value of datatype Or get search suggestion and latest updates.

Alberta Miller
Alberta Miller author of Program gives maximum and minimum value of datatype is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!