Skip to main content

Disclaimer

Disclaimer for C LANGUAGE

If you require any more information or have any questions about our site's disclaimer, please feel free to contact us by email at ahviky2002@gmail.com. Our Disclaimer was generated with the help of the Disclaimer Generator.

Disclaimers for C LANGUAGE

All the information on this website - https://ahvicoding.blogspot.com - is published in good faith and for general information purpose only. C LANGUAGE does not make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this website (C LANGUAGE), is strictly at your own risk. C LANGUAGE will not be liable for any losses and/or damages in connection with the use of our website.

From our website, you can visit other websites by following hyperlinks to such external sites. While we strive to provide only quality links to useful and ethical websites, we have no control over the content and nature of these sites. These links to other websites do not imply a recommendation for all the content found on these sites. Site owners and content may change without notice and may occur before we have the opportunity to remove a link which may have gone 'bad'.

Please be also aware that when you leave our website, other sites may have different privacy policies and terms which are beyond our control. Please be sure to check the Privacy Policies of these sites as well as their "Terms of Service" before engaging in any business or uploading any information.

Consent

By using our website, you hereby consent to our disclaimer and agree to its terms.

Update

Should we update, amend or make any changes to this document, those changes will be prominently posted here.

Comments

Popular posts from this blog

Matrix program or 2D Array in C language Transpose of Matrix program in C language

 Matrix program or 2D Array in C language  In C language ,A two dimensional array is also known as matrix .Today we will learn about Matrix  .We all know that we also use loop to define an array .We will create a matrix program using a nested for loop. 1.Matrix program in C language: /*MATRIX PROGRAM*/ #include"stdio.h" int main() { int a[10][10]; int r,c,k,l; printf("ENTER THE ROW AND COL:"); scanf("%d %d",&r,&c); printf("ENTER THE MATRIX ELEMENTS:"); for(k=0;k<r;k++) { for(l=0;l<c;l++) { printf("ENTER a[%d][%d] : ",k,l); scanf("%d",&a[k][l]); } } printf("MATRIX ARE: \n"); for(k=0;k<r;k++) { for(l=0;l<c;l++) { printf("%d\t",a[k][l]); } printf("\n"); } } Output are: ENTER THE ROW AND COL:2 3 ENTER THE MATRIX ELEMENTS:ENTER a[0][0] : 2 ENTER a[0][1] : 5 ENTER a[0][2] : 7 ENTER a[1][0] : 8 ENTER a[1][1] : 6 ENTER a[1][2] : 1 MATRIX ARE: 2

Two dimensional array in C language or matrix program in c language

 Two dimensional arrays: 1.Two dimensional array is known as matrix. 2.An array with two subscripts is termed as two-dimensional array. 3.We know that a one dimensional array can store a row of elements, so a two-dimensional array enables us to store multiple roes of elements. The syntax of declaring a two-dimensional array is : Data-type array name[row][column]; For reading value : for(k=0;k<4;k++) { for(l=0;l<3;l++) { scanf("%d",&a[k][l]); } } For displaying value : for(k=0;k<4;k++) { for(l=0;l<3;l++) { printf("%d",a[k][l]); } printf("\n"); } Simple Matrix Program : #include"stdio.h" int main() { int a[3][3]; int k,l; printf("Enter the array elements: \n"); for(k=0;k<3;k++)  //for reading value// { for(l=0;l<3;l++) { printf("Enter a[%d][%d] :",k,l); scanf("%d",&a[k][l]); } } printf("\n\nMatrix are: \n"); for(k=0;k<3;k++)  //for displaying value

Age calculating through date of birth program in C language

DATE OF BIRTH PROGRAM IN C LANGUAGE          Today's date - your date of birth = your current age  There are fifth condition are happening.. @1.IF today date 13.7.2021 and date of birth 15.9.2001 age are (2021-2001).(7-9).(13-15) = 20.-2.-2   but it's wrong real age will be 19year.9month.28days .Then first condition will be (days < 0)&&(month<0) @2.IF today date 13.7.2021 and date of birth 12.9.2001 age are(2021-2001).(7-9).(13-12) = 20.-2.1 but it's wrong real age will be 19 year . 10 month . 1 days .Then  second condition will be (days>0)&&(month<0). @3.IF today date 13.7.2021 and date of birth 13.9.2001 age are(2021-2001).(7-9).(13-13) = 20.-2.0 but it's wrong real age will be 19 year . 10 month . 0days .Then  third condition will be (days==0)&&(month<0). @4.IF today date 13.7.2021 and date of birth 13.9.2001 age are(2021-2001).(7-9).(13-13) = 20.1.0 but it's wrong real age will be 19 year . 10 month . 0days .Then  fourth