Have a Read!

Hi Everyone.
The idea for this page is to provide new c users simple c tutorials to learn how to develop the logic and more importantly correct way to write syntax.
ENJOY !!!

Sunday, February 6, 2011

C Code for void type fuction

#include<stdio.h>
void function(int);
int main()
{
int x=10;
function(x);
return 0;
}
void function(int a)
{printf("%d\n",a);}

No comments:

Post a Comment

Related Posts with Thumbnails