0
What does it mean for an argument to be "expected"?
2 Antworten
0
it means exactly what it says for ex- in a program sometimes a warning is displayed that format '%d' expects arguments of type 'int' but argument 3 has type 'int *' so u need to change it.
0
To answer this from my perspective is this. For example: static void Func() doesn't expect an argument because none are listed. This next example would: static void Func(int x). The int x is an argument or parameter required to access this method. It expects an argument of type int or a whole number essentially. I hope this makes sense.