No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi all, I have a question regarding an extern variable. ---test.c [CODE]#include <stdio.h> #include </home/peuceul/debug/test.h> extern int a; int print1() { printf("value of a in extern is %d\n", a); int a = 2; printf("value of a is %d\n", a); } int print2() { printf("value of a in second method is … |
|
Re:
Hi all, I have a simple code below [CODE]#include <stdio.h> #include <string.h> typedef struct { int apn_in_use; } bts_pdn_con_t; typedef struct _bts_pdn_con_list_t_slot { bts_pdn_con_t conn; struct _bts_pdn_con_list_t_slot *next, *prev; } bts_pdn_con_list_t_slot; typedef struct { bts_pdn_con_list_t_slot *head, *tail; } bts_pdn_con_list_t; typedef struct { int umsi; bts_pdn_con_list_t connections; } bts_ue_t; int funct(bts_ue_t … |