OUTPUT: EX 1: Enter Year : 2000 2000 is a Leap Year EX 2: Enter Year : 2004 2004 is a Leap Year
Start reading C Program to Check the Leap YearBlog
OUTPUT: Enter a Number: 145 Sum of Digits of Number: 10
Start reading C Program for Sum of Digits of a NumberOUTPUT: Enter a Number to perform Sum : 258 Sum of Digits of Given Number is: 15
Start reading C Program for Sum of Digits of a Number using RecursionOUTPUT: Enter the Radius of a Circle : 2 Area of Circle is: 12.560000
Start reading C Program to find Area of a CircleArea of a rectangle can be calculated using length * breadth OUTPUT: Enter the Length of Rectangle : 3.2 Enter the Breadth of Rectangle : 4 Area of Rectangle : 12.800000
Start reading C Program to Find Area of RectangleOUTPUT: Enter the Length of Side : 4 Area of Square : 16.000000
Start reading C Program to Find Area of a SquareOUTPUT: Enter Three Values : 10 5 36 36 is Greatest Number
Start reading C Program to Find Biggest among Three NumbersIn this guide, we will show how to switch to another or a specific user account without requiring a password. For example, we have a user account called postgres (the default PostgreSQL superuser system account), we want every user (typically our PostgreSQL database and system administrators) in the group called postgres to switch to the postgres account using the su command without entering a password. By default, …
Start reading How to Switch (su) to Another User Account without Passwordint main(){int a=40,b=60,c;c=add(&a,&b);printf(“The Sum is: %d”,c);return 0;}add(int *x,int *y){int z;z=x+y;return(z);}OUTPUT:The Sum is: 100
Start reading C Program Example for Call By Referenceint main(){int a[5]= {5,4,6,8,9};int *p=&a[0];int i; }OUTPUTArray[0] is 5Array[1] is 4Array[2] is 6Array[3] is 8Array[4] is 95 at 26867084 at 26867126 at 26867168 at 26867209 at 2686724
Start reading C Program to Print Elements of Array Using Pointers