Assign value to global variable
#include <stdio.h> int count; int main(void) { extern int count; /* this refers to global count */ count = 10; printf("%d", count); return 0; }