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
What are types of functions?
What is a pragma?
What is C language ?
What is operator precedence?
What is a null pointer in c?
Explain why C language is procedural?
Write a C program in Fibonacci series.
What is a nested formula?
How can I discover how many arguments a function was actually called with?
What are data types in c language?
Can 'this' pointer by used in the constructor?
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....
What is the difference between āgā and āgā in C?
What is a method in c?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?