StackOverflow Questions for Tag: function-declaration

GandhiGandhi
GandhiGandhi

Reputation: 1350

Is it standard C17 to wrap a parameter in a function declaration in parenthesis

Score: 5

Views: 166

Answers: 2

Read More
utg.tdawg
utg.tdawg

Reputation: 358

Why is the mismatch between declaration and definition not raising error during compilation?

Score: 2

Views: 263

Answers: 4

Read More
Landon
Landon

Reputation: 15696

Is there a difference between foo(void) and foo() in C++ or C?

Score: 290

Views: 81280

Answers: 5

Read More
Alexander S
Alexander S

Reputation: 119

How to declare a const and non-const operator overload in one declaration (templately)?

Score: 2

Views: 138

Answers: 1

Read More
Rudra Shivgan
Rudra Shivgan

Reputation: 49

Calling a function before Defining it in Java

Score: 0

Views: 83

Answers: 1

Read More
zhan Wang
zhan Wang

Reputation: 11

Can the function itself serve as a parameter to another function?

Score: 1

Views: 62

Answers: 1

Read More
user15873596
user15873596

Reputation: 165

How to prevent error : this old-style function

Score: 12

Views: 3266

Answers: 2

Read More
alessio solari
alessio solari

Reputation: 421

Is it ok to omit the void parameter in a C function definition?

Score: 0

Views: 133

Answers: 3

Read More
user615536
user615536

Reputation: 569

C function: array argument length

Score: 4

Views: 249

Answers: 2

Read More
ram
ram

Reputation: 13

How exactly linking works and what exactly i am doing wrong here

Score: 1

Views: 156

Answers: 1

Read More
JamesTheAwesomeDude
JamesTheAwesomeDude

Reputation: 1052

Renaming/re-declaring functions for CFFI?

Score: 2

Views: 50

Answers: 1

Read More
Rodion Iskhakov
Rodion Iskhakov

Reputation: 157

How do I get rid of -Wimplicit-function-declaration

Score: 1

Views: 822

Answers: 1

Read More
R-Rothrock
R-Rothrock

Reputation: 427

char** v *char[] in C

Score: 1

Views: 175

Answers: 2

Read More
Rob
Rob

Reputation: 78708

Does using const on function parameters have any effect? Why does it not affect the function signature?

Score: 543

Views: 417042

Answers: 31

Read More
pasha
pasha

Reputation: 2115

C++: Why is function declaration allowed inside another function but not function definition?

Score: 0

Views: 287

Answers: 1

Read More
Francesco Derme
Francesco Derme

Reputation: 209

If arrays are passed by reference, why should I use int(&)[]?

Score: 17

Views: 2125

Answers: 1

Read More
mrn
mrn

Reputation: 1081

Defining function pointer in C?

Score: 3

Views: 273

Answers: 3

Read More
Wör Du Schnaffzig
Wör Du Schnaffzig

Reputation: 1051

How Python deals with redeclared function

Score: 0

Views: 178

Answers: 1

Read More
ngn
ngn

Reputation: 7902

C function type without a typedef

Score: 1

Views: 138

Answers: 2

Read More
user14892865
user14892865

Reputation:

c function pointer, another syntax

Score: 1

Views: 64

Answers: 2

Read More
PreviousPage 2Next