How to access values from one function with pointer as an argument in other function with pointer as argument?How do you pass a function as a parameter in C?How to initialize all members of an array to the same value?How do function pointers in C work?Typedef function pointer?Program run in child process doesn't loopIs there a general-purpose printf-ish routine defined in any C standardPutting a 2D char array into a struct, don't know where to startAccessing char pointer in a struct which was casted from a void pointerHow many levels of pointers can we have?Send converted DS1820 temperature over PIC16 uart

Should I ask for a raise one month before the end of an internship?

Are sweatpants frowned upon on flights?

How to handle inventory and story of a player leaving

Why is there no Disney logo in MCU movies?

Is there an in-universe explanation given to the senior Imperial Navy Officers as to why Darth Vader serves Emperor Palpatine?

What's the point of fighting monsters in Zelda BotW?

What caused the end of cybernetic implants?

Why is there not a willingness from the world to step in between Pakistan and India?

How could a self contained organic body propel itself in space

Do application leftovers have any impact on performance?

How do you say "half the time …, the other half …" in German?

Pen test results for web application include a file from a forbidden directory that is not even used or referenced

Why do IR remotes influence AM radios?

I feel cheated by my new employer, does this sound right?

Is there a way to tell what frequency I need a PWM to be?

Why haven't the British protested Brexit as ardently like Hong Kongers protest?

Idiomatic way to create an immutable and efficient class in C++?

Why did Lucius make a deal out of Buckbeak hurting Draco but not about Draco being turned into a ferret?

Spicing up a moment of peace

Scaling arrows.meta with tranform shape

What is a "hard problem" in the context of Mixed-integer programming?

Can an evocation wizard protect themself with spell sculpting?

Can I lend a small amount of my own money to a bank at the federal funds rate?

Heat output from a 200W electric radiator?



How to access values from one function with pointer as an argument in other function with pointer as argument?


How do you pass a function as a parameter in C?How to initialize all members of an array to the same value?How do function pointers in C work?Typedef function pointer?Program run in child process doesn't loopIs there a general-purpose printf-ish routine defined in any C standardPutting a 2D char array into a struct, don't know where to startAccessing char pointer in a struct which was casted from a void pointerHow many levels of pointers can we have?Send converted DS1820 temperature over PIC16 uart






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am developing a code in which I access the values from one function (func1) into another function (func2). Both functions have pointers as argument. I am calling "func2" in an other file to pass the values further for writing over UART.



Below is code snippet:



func1: (file one.c)



int16_t driver485Compare(uint8_t * message, uint16_t len)

int j = 0;
uint8_t FWmsg[9] = 0x09,0x30,0x30,0x32,0x32,0x31,0x31,0x30,0x36;
uint8_t adata[9] = 0x09,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30;

printf("compare command..........");
for (j=0; j<9; j++)

adata[j] = message[j] ;
printf("%d ",adata[j]);


if(compareArray(FWmsg,adata,7)==0)

uint8_t add, fwcommand, fwaction;
uint16_t fwvalue;
GetABFWversion(&message, &add, &fwcommand, &fwaction, &fwvalue);

printf("elements matched n");
// HERE I NEED TO read VALUES OF add, fwcommand, fwaction, fwvalue and pass to "message"



else

printf("Arrays have different elements.n");


return 0;



func2: (file two.c)



int8_t GetABFWversion(uint8_t* add, uint8_t* fwcommand, uint8_t* fwaction, uint16_t* fwvalue) 

char MyCopy[10];
strcpy (MyCopy, FIRMWARE_VERSION);
char MyCopy1[10];
for (int k=0; k<9; k++)

int l=1;
MyCopy1[k] = MyCopy[k+l];


char FWversion_AB[10] = 0;
for(int x=6;x<9;x++)

FWversion_AB[z] = MyCopy1[x];
z++;


uint16_t val = atoi(FWversion_AB);
*add = RS485_ADDRESS; //values read from enum
*fwcommand = CMD_GET_VERSION_AB; //values read from enum
*fwaction = CMD_ACTION_AB; //values read from enum
*fwvalue = val;

// NEED TO PASS VALUES OF add, fwcommand, fwaction, fwval to "driver485Compare()"



func3: (in different file (three.c))



void TaskSlave(void *p_arg) //b - communication Task

uint8_t res;
rs485_message_t rs485Msg;

(void)p_arg;
while(1)

res = driver485Read((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);

res = driver485Compare((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);
//add, fwcommad, fwaction, fwval SHOULD BE REFLECTED HERE WHILE CALLING "driver485Compare()" IN ABOVE STATEMENT.












share|improve this question
































    0















    I am developing a code in which I access the values from one function (func1) into another function (func2). Both functions have pointers as argument. I am calling "func2" in an other file to pass the values further for writing over UART.



    Below is code snippet:



    func1: (file one.c)



    int16_t driver485Compare(uint8_t * message, uint16_t len)

    int j = 0;
    uint8_t FWmsg[9] = 0x09,0x30,0x30,0x32,0x32,0x31,0x31,0x30,0x36;
    uint8_t adata[9] = 0x09,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30;

    printf("compare command..........");
    for (j=0; j<9; j++)

    adata[j] = message[j] ;
    printf("%d ",adata[j]);


    if(compareArray(FWmsg,adata,7)==0)

    uint8_t add, fwcommand, fwaction;
    uint16_t fwvalue;
    GetABFWversion(&message, &add, &fwcommand, &fwaction, &fwvalue);

    printf("elements matched n");
    // HERE I NEED TO read VALUES OF add, fwcommand, fwaction, fwvalue and pass to "message"



    else

    printf("Arrays have different elements.n");


    return 0;



    func2: (file two.c)



    int8_t GetABFWversion(uint8_t* add, uint8_t* fwcommand, uint8_t* fwaction, uint16_t* fwvalue) 

    char MyCopy[10];
    strcpy (MyCopy, FIRMWARE_VERSION);
    char MyCopy1[10];
    for (int k=0; k<9; k++)

    int l=1;
    MyCopy1[k] = MyCopy[k+l];


    char FWversion_AB[10] = 0;
    for(int x=6;x<9;x++)

    FWversion_AB[z] = MyCopy1[x];
    z++;


    uint16_t val = atoi(FWversion_AB);
    *add = RS485_ADDRESS; //values read from enum
    *fwcommand = CMD_GET_VERSION_AB; //values read from enum
    *fwaction = CMD_ACTION_AB; //values read from enum
    *fwvalue = val;

    // NEED TO PASS VALUES OF add, fwcommand, fwaction, fwval to "driver485Compare()"



    func3: (in different file (three.c))



    void TaskSlave(void *p_arg) //b - communication Task

    uint8_t res;
    rs485_message_t rs485Msg;

    (void)p_arg;
    while(1)

    res = driver485Read((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);

    res = driver485Compare((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);
    //add, fwcommad, fwaction, fwval SHOULD BE REFLECTED HERE WHILE CALLING "driver485Compare()" IN ABOVE STATEMENT.












    share|improve this question




























      0












      0








      0








      I am developing a code in which I access the values from one function (func1) into another function (func2). Both functions have pointers as argument. I am calling "func2" in an other file to pass the values further for writing over UART.



      Below is code snippet:



      func1: (file one.c)



      int16_t driver485Compare(uint8_t * message, uint16_t len)

      int j = 0;
      uint8_t FWmsg[9] = 0x09,0x30,0x30,0x32,0x32,0x31,0x31,0x30,0x36;
      uint8_t adata[9] = 0x09,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30;

      printf("compare command..........");
      for (j=0; j<9; j++)

      adata[j] = message[j] ;
      printf("%d ",adata[j]);


      if(compareArray(FWmsg,adata,7)==0)

      uint8_t add, fwcommand, fwaction;
      uint16_t fwvalue;
      GetABFWversion(&message, &add, &fwcommand, &fwaction, &fwvalue);

      printf("elements matched n");
      // HERE I NEED TO read VALUES OF add, fwcommand, fwaction, fwvalue and pass to "message"



      else

      printf("Arrays have different elements.n");


      return 0;



      func2: (file two.c)



      int8_t GetABFWversion(uint8_t* add, uint8_t* fwcommand, uint8_t* fwaction, uint16_t* fwvalue) 

      char MyCopy[10];
      strcpy (MyCopy, FIRMWARE_VERSION);
      char MyCopy1[10];
      for (int k=0; k<9; k++)

      int l=1;
      MyCopy1[k] = MyCopy[k+l];


      char FWversion_AB[10] = 0;
      for(int x=6;x<9;x++)

      FWversion_AB[z] = MyCopy1[x];
      z++;


      uint16_t val = atoi(FWversion_AB);
      *add = RS485_ADDRESS; //values read from enum
      *fwcommand = CMD_GET_VERSION_AB; //values read from enum
      *fwaction = CMD_ACTION_AB; //values read from enum
      *fwvalue = val;

      // NEED TO PASS VALUES OF add, fwcommand, fwaction, fwval to "driver485Compare()"



      func3: (in different file (three.c))



      void TaskSlave(void *p_arg) //b - communication Task

      uint8_t res;
      rs485_message_t rs485Msg;

      (void)p_arg;
      while(1)

      res = driver485Read((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);

      res = driver485Compare((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);
      //add, fwcommad, fwaction, fwval SHOULD BE REFLECTED HERE WHILE CALLING "driver485Compare()" IN ABOVE STATEMENT.












      share|improve this question
















      I am developing a code in which I access the values from one function (func1) into another function (func2). Both functions have pointers as argument. I am calling "func2" in an other file to pass the values further for writing over UART.



      Below is code snippet:



      func1: (file one.c)



      int16_t driver485Compare(uint8_t * message, uint16_t len)

      int j = 0;
      uint8_t FWmsg[9] = 0x09,0x30,0x30,0x32,0x32,0x31,0x31,0x30,0x36;
      uint8_t adata[9] = 0x09,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30;

      printf("compare command..........");
      for (j=0; j<9; j++)

      adata[j] = message[j] ;
      printf("%d ",adata[j]);


      if(compareArray(FWmsg,adata,7)==0)

      uint8_t add, fwcommand, fwaction;
      uint16_t fwvalue;
      GetABFWversion(&message, &add, &fwcommand, &fwaction, &fwvalue);

      printf("elements matched n");
      // HERE I NEED TO read VALUES OF add, fwcommand, fwaction, fwvalue and pass to "message"



      else

      printf("Arrays have different elements.n");


      return 0;



      func2: (file two.c)



      int8_t GetABFWversion(uint8_t* add, uint8_t* fwcommand, uint8_t* fwaction, uint16_t* fwvalue) 

      char MyCopy[10];
      strcpy (MyCopy, FIRMWARE_VERSION);
      char MyCopy1[10];
      for (int k=0; k<9; k++)

      int l=1;
      MyCopy1[k] = MyCopy[k+l];


      char FWversion_AB[10] = 0;
      for(int x=6;x<9;x++)

      FWversion_AB[z] = MyCopy1[x];
      z++;


      uint16_t val = atoi(FWversion_AB);
      *add = RS485_ADDRESS; //values read from enum
      *fwcommand = CMD_GET_VERSION_AB; //values read from enum
      *fwaction = CMD_ACTION_AB; //values read from enum
      *fwvalue = val;

      // NEED TO PASS VALUES OF add, fwcommand, fwaction, fwval to "driver485Compare()"



      func3: (in different file (three.c))



      void TaskSlave(void *p_arg) //b - communication Task

      uint8_t res;
      rs485_message_t rs485Msg;

      (void)p_arg;
      while(1)

      res = driver485Read((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);

      res = driver485Compare((uint8_t *)&rs485Msg, RS485_MSG_LENGTH);
      //add, fwcommad, fwaction, fwval SHOULD BE REFLECTED HERE WHILE CALLING "driver485Compare()" IN ABOVE STATEMENT.









      c






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 4:56









      Vega

      16.3k13 gold badges47 silver badges69 bronze badges




      16.3k13 gold badges47 silver badges69 bronze badges










      asked Mar 27 at 22:05









      user11265782user11265782

      32 bronze badges




      32 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0















          What is not working? All functions in C have extern applied by default, so there is no reason you can't call a function declared in one source from another. You simply have to provide a function prototype, e.g. int fn_in_other_file (params); for the function in the file where you want to use it before you actually use it. Just as you do when using a function within the same source file.



          The linker will resolve all symbol names when linking the object files together despite the functions being defined in separate source files. There is nothing special you need to do there.



          Take a very basic example of 3 files where the function from one file are called in another:



          File 1 (a.c)



          int funA (void)

          return 2;



          File 2 (b.c) calling funA()



          int funA (void); /* function prototype for funA() in file where it is used */

          int funB (void)

          return funA() + 3;



          (note: how the prototype for funA() is included at the beginning of b.c before funA() is called. (something normally done with header files) You can write the prototype as extern int funA (void); to be explicit, but there is no need, the extern keyword is implied.)



          File 3 (main.c) calling funB()



          #include <stdio.h>

          int funB(void); /* function prototype for funB() in file where it is used */

          int main (void)

          printf ("funB() : %dn", funB());



          Looking at the flow you can deduce that the output from main() should be "funB() : 5", so compile all three and check:



          $ gcc -Wall -Wextra -pedantic-std=gnu11 -O2 a.c b.c -o bin/main main.c


          And the expected output is:



          $ ./bin/main
          funB() : 5


          This is the very same circumstance that you face in your question and you can apply it to solve your problem. Give it a try and let me know if you have further questions.






          share|improve this answer

























          • I need help to write a piece of code which will take values "add, fwcommand, fwaction, fwvalue" from "func2" inorder to reflect the same in "func3". In "func3" i'll be passing those values on UART by using "proto485OnlyWrite(message->address, message->command, message->action, message->value);" after "driver485Compare()" call.

            – user11265782
            Mar 28 at 10:59











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55387197%2fhow-to-access-values-from-one-function-with-pointer-as-an-argument-in-other-func%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0















          What is not working? All functions in C have extern applied by default, so there is no reason you can't call a function declared in one source from another. You simply have to provide a function prototype, e.g. int fn_in_other_file (params); for the function in the file where you want to use it before you actually use it. Just as you do when using a function within the same source file.



          The linker will resolve all symbol names when linking the object files together despite the functions being defined in separate source files. There is nothing special you need to do there.



          Take a very basic example of 3 files where the function from one file are called in another:



          File 1 (a.c)



          int funA (void)

          return 2;



          File 2 (b.c) calling funA()



          int funA (void); /* function prototype for funA() in file where it is used */

          int funB (void)

          return funA() + 3;



          (note: how the prototype for funA() is included at the beginning of b.c before funA() is called. (something normally done with header files) You can write the prototype as extern int funA (void); to be explicit, but there is no need, the extern keyword is implied.)



          File 3 (main.c) calling funB()



          #include <stdio.h>

          int funB(void); /* function prototype for funB() in file where it is used */

          int main (void)

          printf ("funB() : %dn", funB());



          Looking at the flow you can deduce that the output from main() should be "funB() : 5", so compile all three and check:



          $ gcc -Wall -Wextra -pedantic-std=gnu11 -O2 a.c b.c -o bin/main main.c


          And the expected output is:



          $ ./bin/main
          funB() : 5


          This is the very same circumstance that you face in your question and you can apply it to solve your problem. Give it a try and let me know if you have further questions.






          share|improve this answer

























          • I need help to write a piece of code which will take values "add, fwcommand, fwaction, fwvalue" from "func2" inorder to reflect the same in "func3". In "func3" i'll be passing those values on UART by using "proto485OnlyWrite(message->address, message->command, message->action, message->value);" after "driver485Compare()" call.

            – user11265782
            Mar 28 at 10:59
















          0















          What is not working? All functions in C have extern applied by default, so there is no reason you can't call a function declared in one source from another. You simply have to provide a function prototype, e.g. int fn_in_other_file (params); for the function in the file where you want to use it before you actually use it. Just as you do when using a function within the same source file.



          The linker will resolve all symbol names when linking the object files together despite the functions being defined in separate source files. There is nothing special you need to do there.



          Take a very basic example of 3 files where the function from one file are called in another:



          File 1 (a.c)



          int funA (void)

          return 2;



          File 2 (b.c) calling funA()



          int funA (void); /* function prototype for funA() in file where it is used */

          int funB (void)

          return funA() + 3;



          (note: how the prototype for funA() is included at the beginning of b.c before funA() is called. (something normally done with header files) You can write the prototype as extern int funA (void); to be explicit, but there is no need, the extern keyword is implied.)



          File 3 (main.c) calling funB()



          #include <stdio.h>

          int funB(void); /* function prototype for funB() in file where it is used */

          int main (void)

          printf ("funB() : %dn", funB());



          Looking at the flow you can deduce that the output from main() should be "funB() : 5", so compile all three and check:



          $ gcc -Wall -Wextra -pedantic-std=gnu11 -O2 a.c b.c -o bin/main main.c


          And the expected output is:



          $ ./bin/main
          funB() : 5


          This is the very same circumstance that you face in your question and you can apply it to solve your problem. Give it a try and let me know if you have further questions.






          share|improve this answer

























          • I need help to write a piece of code which will take values "add, fwcommand, fwaction, fwvalue" from "func2" inorder to reflect the same in "func3". In "func3" i'll be passing those values on UART by using "proto485OnlyWrite(message->address, message->command, message->action, message->value);" after "driver485Compare()" call.

            – user11265782
            Mar 28 at 10:59














          0














          0










          0









          What is not working? All functions in C have extern applied by default, so there is no reason you can't call a function declared in one source from another. You simply have to provide a function prototype, e.g. int fn_in_other_file (params); for the function in the file where you want to use it before you actually use it. Just as you do when using a function within the same source file.



          The linker will resolve all symbol names when linking the object files together despite the functions being defined in separate source files. There is nothing special you need to do there.



          Take a very basic example of 3 files where the function from one file are called in another:



          File 1 (a.c)



          int funA (void)

          return 2;



          File 2 (b.c) calling funA()



          int funA (void); /* function prototype for funA() in file where it is used */

          int funB (void)

          return funA() + 3;



          (note: how the prototype for funA() is included at the beginning of b.c before funA() is called. (something normally done with header files) You can write the prototype as extern int funA (void); to be explicit, but there is no need, the extern keyword is implied.)



          File 3 (main.c) calling funB()



          #include <stdio.h>

          int funB(void); /* function prototype for funB() in file where it is used */

          int main (void)

          printf ("funB() : %dn", funB());



          Looking at the flow you can deduce that the output from main() should be "funB() : 5", so compile all three and check:



          $ gcc -Wall -Wextra -pedantic-std=gnu11 -O2 a.c b.c -o bin/main main.c


          And the expected output is:



          $ ./bin/main
          funB() : 5


          This is the very same circumstance that you face in your question and you can apply it to solve your problem. Give it a try and let me know if you have further questions.






          share|improve this answer













          What is not working? All functions in C have extern applied by default, so there is no reason you can't call a function declared in one source from another. You simply have to provide a function prototype, e.g. int fn_in_other_file (params); for the function in the file where you want to use it before you actually use it. Just as you do when using a function within the same source file.



          The linker will resolve all symbol names when linking the object files together despite the functions being defined in separate source files. There is nothing special you need to do there.



          Take a very basic example of 3 files where the function from one file are called in another:



          File 1 (a.c)



          int funA (void)

          return 2;



          File 2 (b.c) calling funA()



          int funA (void); /* function prototype for funA() in file where it is used */

          int funB (void)

          return funA() + 3;



          (note: how the prototype for funA() is included at the beginning of b.c before funA() is called. (something normally done with header files) You can write the prototype as extern int funA (void); to be explicit, but there is no need, the extern keyword is implied.)



          File 3 (main.c) calling funB()



          #include <stdio.h>

          int funB(void); /* function prototype for funB() in file where it is used */

          int main (void)

          printf ("funB() : %dn", funB());



          Looking at the flow you can deduce that the output from main() should be "funB() : 5", so compile all three and check:



          $ gcc -Wall -Wextra -pedantic-std=gnu11 -O2 a.c b.c -o bin/main main.c


          And the expected output is:



          $ ./bin/main
          funB() : 5


          This is the very same circumstance that you face in your question and you can apply it to solve your problem. Give it a try and let me know if you have further questions.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 28 at 6:34









          David C. RankinDavid C. Rankin

          47.9k3 gold badges33 silver badges55 bronze badges




          47.9k3 gold badges33 silver badges55 bronze badges















          • I need help to write a piece of code which will take values "add, fwcommand, fwaction, fwvalue" from "func2" inorder to reflect the same in "func3". In "func3" i'll be passing those values on UART by using "proto485OnlyWrite(message->address, message->command, message->action, message->value);" after "driver485Compare()" call.

            – user11265782
            Mar 28 at 10:59


















          • I need help to write a piece of code which will take values "add, fwcommand, fwaction, fwvalue" from "func2" inorder to reflect the same in "func3". In "func3" i'll be passing those values on UART by using "proto485OnlyWrite(message->address, message->command, message->action, message->value);" after "driver485Compare()" call.

            – user11265782
            Mar 28 at 10:59

















          I need help to write a piece of code which will take values "add, fwcommand, fwaction, fwvalue" from "func2" inorder to reflect the same in "func3". In "func3" i'll be passing those values on UART by using "proto485OnlyWrite(message->address, message->command, message->action, message->value);" after "driver485Compare()" call.

          – user11265782
          Mar 28 at 10:59






          I need help to write a piece of code which will take values "add, fwcommand, fwaction, fwvalue" from "func2" inorder to reflect the same in "func3". In "func3" i'll be passing those values on UART by using "proto485OnlyWrite(message->address, message->command, message->action, message->value);" after "driver485Compare()" call.

          – user11265782
          Mar 28 at 10:59









          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55387197%2fhow-to-access-values-from-one-function-with-pointer-as-an-argument-in-other-func%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현