I have a query like i have a structure being called in the function and the values get calculated in the function. and once i am out of the function all the values in th structure are now showing value zero, Now i want the values of the structure in the calling function also.
What can be done.
i have a function called f1() in which i have defined the struct timeformat as global . And i am calling a function f2(timeformat time). again in the f2 also i have declared the structure . what has to be done to get the values of the struct in f1() which is modified by f2().
hope you follow the question.
thanks .
What can be done.
i have a function called f1() in which i have defined the struct timeformat as global . And i am calling a function f2(timeformat time). again in the f2 also i have declared the structure . what has to be done to get the values of the struct in f1() which is modified by f2().
hope you follow the question.
thanks .
Comment