195,676 views
41 votes
41 votes
How do you declare variables in c program

User Gerum
by
2.6k points

1 Answer

20 votes
20 votes

Answer:

You will use the keyword extern to declare a variable at any place. Though you can declare a variable multiple times in your C program, it can be defined only once in a file, a function, or a block of code. Step-by-step explanation:

User Mador
by
3.1k points