- Joined
- Jul 31, 2019
- Messages
- 2
- Reaction score
- 0
Hi all,
I found these lines of code in one of the c file.
int main()
{
unsigned long a;
a= fun(1000);
return 0;
}
unsigned long fun(unsigned long ms)
{
unsigned long us = ms * 10L;
return us;
}
can anyone explain the value of a which is printed after computing its value?
I found these lines of code in one of the c file.
int main()
{
unsigned long a;
a= fun(1000);
return 0;
}
unsigned long fun(unsigned long ms)
{
unsigned long us = ms * 10L;
return us;
}
can anyone explain the value of a which is printed after computing its value?