How does "sizeof ()" work ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How does "sizeof ()" work ?

28th Jun 2020, 7:45 PM
WAZIR KHALED
WAZIR KHALED - avatar
4 Answers
+ 1
So,what is the answer of below code. Int fun() { Printf("Hello "); Return 10; } Void main() { Printf("%d\n",sizeof(fun()); } Assume library is already added. :)
28th Jun 2020, 8:17 PM
tom
tom - avatar
+ 1
Thank U got it :)👍
28th Jun 2020, 8:25 PM
tom
tom - avatar
+ 1
Yaa auto capitalization is my keyboard prolem.when i saw this question then I think about above situation and I wrote ruff code format for that that's why. BTW Thanks 👍 :)
29th Jun 2020, 2:49 AM
tom
tom - avatar
0
So, according to you it will call fun() ??
28th Jun 2020, 8:21 PM
tom
tom - avatar