A
Amit Sharma
Hi,
I wanted to know when we call function with argument, Does the
arguments stored in stack always or it compiler specific and could be
stored in queue
e.g. Does this program's output depends upon the compiler specific or
always would be b a
#include<stdio.h>
int a()
{
printf("a\t");
return 0;
}
int b()
{
printf("b\t");
return 0;
}
void c(int a,int b)
{
}
int main()
{
c(a(),b());
return 1;
}
Thanks,
Amit
I wanted to know when we call function with argument, Does the
arguments stored in stack always or it compiler specific and could be
stored in queue
e.g. Does this program's output depends upon the compiler specific or
always would be b a
#include<stdio.h>
int a()
{
printf("a\t");
return 0;
}
int b()
{
printf("b\t");
return 0;
}
void c(int a,int b)
{
}
int main()
{
c(a(),b());
return 1;
}
Thanks,
Amit