Category: Function

13
May
2017

Void clear in C

We  see lots of void in C. Lets clear why we all use  this. int myFunc(void){ }…

13
May
2017

Returning From Array Function in C

As I am learning I didn’t find the solution yet when I was trying to make a…

12
May
2017

Find Is It Armstrong Number or Not

code by me: #include<stdio.h> #include<math.h> int getTotalDigits(int); int isArmStrong(int,int); int getTotalDigits(int n) { int count=0; while(n>0) {…

12
May
2017

Modular Reusable Code Example in Function

Program to check if it is upper or lowercase if it is then print it or if…

05
Nov
2015

Area of Circle using function

for formula: http://www.mathsisfun.com/area.htm code: #include<stdio.h> double pi=3.1416; double britto(double r) { double area=pi*r*r; return area; } int…