Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 6893
1 vote
1 answer
24 views

Bang and Structs

NULL) { // do this } would that be equivalent to saying continue doing this while the value is NULL? or does this mean continue doing this while not equal to NULL? …
Gibb Johnson's user avatar
0 votes
0 answers
70 views

Initializing a variable in a struct, then in a function

It won't allow me to initialize the array to NULL in the struct in the header file: typedef struct frog { bool is_frog; struct frog* french_chef[10]; // eg = {NULL}; } frog; which I get, but … it also won't let me do it in the main function: frog* root = malloc(sizeof(frog)); root->french_chef = {NULL}; Where is my logic error? …
Gibb Johnson's user avatar