InterviewSolution
Saved Bookmarks
| 1. |
Write a declaration for Integer count that should be maintained in a register, initialize count to 0 |
|
Answer» g 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;"" |
|