I got that error which cant figure out. I look over related questions but I dont give a meaning someone show me which part do I need to fix?
[Error] void value not ignored as it ought to be
My codes
void getEdge(char str[],char *token){ *token = strtok(str, "_,"); while (token != NULL ) { // printf("%s\n", token); token = strtok(NULL, "_,"); } } void getEdge(char str[],char *token); int main () { char arr[] = "A_B_10,A_F_6,B_C_6,C_B_10,D_A_3"; char *toke; char result; result = getEdge(arr,toke); printf("%s\n",result); }
Related Posts:
- What does “collect2: error: ld returned 1 exit status” mean?
- What does “collect2: error: ld returned 1 exit status” mean?
- dereferencing pointer to incomplete type
- C compiler for Windows?
- Why the range of int is -32768 to 32767?
- max value of integer
- What does “collect2: error: ld returned 1 exit status” mean?
- C programming, error: called object is not a function or function pointer
- C compile error: “Variable-sized object may not be initialized”
- error: expected primary-expression before ‘)’ token (C)
- Java – String cannot be converted to int
- C compile error: Id returned 1 exit status
- c array – warning: format not a string literal
- (.text+0x20): undefined reference to `main’ and undefined reference to function
- error: too few arguments to function `printDay’ (C language)
- Valgrind Invalid free() / delete / delete[] / realloc() in C
- C’s printf and fprintf(stdout,) are not printing
- error: unknown type name ‘bool’
- “warning: useless storage class specifier in empty declaration” in struct
- Representing EOF in C code?
- How to display hexadecimal numbers in C?
- Example of realpath function in C
- How to print a int64_t type in C
- How big can a 64 bit unsigned integer be?
- Using prevNext Modx Addon
- :wq! command in vim
- how to set the background color of the status bar during the launching phase [duplicate]
- api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]
- The difference between n++ and ++n at the end of a while loop? (ANSI C)
- What is a segmentation fault?
- How many spaces for tab character(\t)?
- When is K 1024 and when is it 1000?
- What is a MIME type?
- Implementing Taylor Series for sine and cosine in C
- Working on code to calculate cosine with factorial sum
- Logitech/LGHUB Lua – Loop with break
- are there dictionaries in javascript like python?
- How can I convert MP3 file to a Base64 encoded string? [closed]
- Understanding The Modulus Operator %
- Understanding the main method of python [duplicate]
- Dial pad to get phone number (with Android button images)
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How to use execvp()
- How is the AND/OR operator represented as in Regular Expressions?
- TypeError: only integer scalar arrays can be converted to a scalar index with 1D numpy indices array
- How to use execvp() to execute a command
- Istio Ingress resulting in “no healthy upstream”
- Why is it not possible to fake an IP address?
- How to open a “-” dashed filename using terminal?
- Substring in excel
- What is a LAMP stack?
- What is a sanity test/check
- What is the difference between POST and PUT in HTTP?
- What is the difference between POST and PUT in HTTP?
- How to find Google’s IP address?
- How does strtok() split the string into tokens in C?
- What exactly is a VBO in OpenGL?
- What and where are the stack and heap?
- ping response “Request timed out.” vs “Destination Host unreachable”
- Authentication versus Authorization
- What is a reverse shell?
- How does npm start work? What all processes are happening in the background?
- What is an instance variable in Java?
- warning: implicit declaration of function
- What is the := operator?
- What is tail recursion?
- warning: implicit declaration of function
- Discord music bot not working
- What does “:=” mean in Pseudocode? [closed]
- Why am I getting error for apple-touch-icon-precomposed.png
- What is *(uint32_t*)?
- What does (~0L) mean?
- No results found on kibana -> discover
- What is Xpenology? Is it Linux related thing?
- pthread_join() and pthread_exit()
- Why do we need virtual functions in C++?
- What is size_t in C?
- What is the difference between float and double?
- What is a CSRF token? What is its importance and how does it work?
- what is Segmentation fault (core dumped)? [duplicate]
- What causes a segmentation fault (core dump) to occur in C?
- uint8_t vs unsigned char
- How to use symbols of extended ASCII table in C?
- Create blank image in Imagemagick
- Two questions about basic C programs
- What is the difference between ++i and i++?
- Official definition of CSCI (Computer Software Configuration Item)
- Using boolean values in C
- How could I ping @here in Discord.py?
- Python Math – TypeError: ‘NoneType’ object is not subscriptable
- How to convert an int to string in C?
- typedef struct vs struct definitions [duplicate]
- How to print in C
- What does %>% mean in R [duplicate]
- What is the effect of extern “C” in C++?
- super() in Java
- Visual List of iOS Fonts?
- Why should we typedef a struct so often in C?
- What is useState() in React?
- TCP vs UDP – What is a TCP connection? [duplicate]