Define a function in c program, C/C++ Programming

Define a function in c program:

int f1()

{

static int x=10;

return x;

}

int f2()

{

int y=5;

return y;

}

extern int z;

void f()

 

 

{   int a=12;

    extern z=a;

 

}

 

Posted Date: 10/18/2012 6:47:59 AM | Location : United States







Related Discussions:- Define a function in c program, Assignment Help, Ask Question on Define a function in c program, Get Answer, Expert's Help, Define a function in c program Discussions

Write discussion on Define a function in c program
Your posts are moderated
Related Questions
We have used logic symbols in the past, but not really though about the actual real devices. Semiconductor companies have taken the logic symbols are manufactured them into logic f

#questiStarting with a blank solution, write a program to prompt the user for an employee number, hourly rate and hours worked. Compute and display the employee number, gross weekl

PROGRAM TO FIND WHETHER A NUMBER IS ODD OR EVEN int main() { int number ; printf("Enter a whole number\n"); scanf("%d",&number); if(number % 2 == 0) printf("n

want to understand the working of structure and classes

Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal

We need an E Commerce site likefifacointrader. you must have experience with that kind of work You have to show a sample of work like that site. Skills required are C Prog

Describe Processing an array? The Single operations which involve complete arrays are not permitted in C language. therefore if a and b are similar arrays (for example same dim

Project Description: I want someone with experience on adding/compiling/installing the OpenVPN client software within an IP network camera's embedded operating system. Either if

program for decode the encoded numbering format into message

draw the flow chart to print the fibonacci series upto n th terms