Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to return 1000 variables from functio9n in c?plz give me
code also

Answer Posted / ramachandran

#include<stdio.h>
int fun(int *a)
{
return ++(*a);
}

int main()
{
int a=0,i,d;
for(i=0;i<100;i++)
{
d=fun(&a);
printf("\n%d",d);
}
getch();
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are types of functions?

1045


What is a pragma?

1131


What is C language ?

1972


What is operator precedence?

1218


What is a null pointer in c?

1239


Explain why C language is procedural?

1230


Write a C program in Fibonacci series.

1095


What is a nested formula?

1166


How can I discover how many arguments a function was actually called with?

1072


What are data types in c language?

1062


Can 'this' pointer by used in the constructor?

1099


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1982


What is the difference between ā€˜g’ and ā€œgā€ in C?

4017


What is a method in c?

1156


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1475