C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
Can someone explain why this works with the pointer: char * str1; str1 = "Hello1"; str1 = "new string"; // but not this char …
c string pointers initialization reusabilityI use pthread_create(&thread1, &attrs, //... , //...); and need if some condition occured need to kill this thread how …
c multithreading pthreads posixIs it possible to pass a function pointer as an argument to a function in C? If so, how would …
c function-pointers argument-passingI want to write my C functions in 2 separate .c files and use my IDE (Code::Blocks) to compile everything …
c codeblocksI've a little question. I'm trying to define an array of function pointers dynamically with calloc. But I don't know …
c++ c arrays function-pointersWhy does the indexing in an array start with zero in C and not with 1?
c arraysI am trying to print out an unsigned long long like this: printf("Hex add is: 0x%ux ", hexAdd); but …
c integer printfI'm experimenting to learn flex and would like to match string literals. My code currently looks like: "\""([^\n\"\\]*(\\[.\n])*)*"\"" {/*matches …
c regex lex string-literals flex-lexer