Computer Science, asked by TbiaSamishta, 1 year ago

Write a declaration for Integer count that should be maintained in a register, initialize count to 0

Answers

Answered by Secondman
0

Assuming that the question has been asked in reference to C programming language, there are two important points to be considered while using variables in a C program.

Before using any data member in a C program, it is important that the data member must be declared and defined.

•To declare a data member, we have to write the declaration statement at the top of the source code after the header files,

int count;

•To define/ initialize a data member, we have to define it and initialize it with some value:

int count=0;""

Similar questions