हिंदी

In a statement c = c + (x * d + e); which variable is an accumulator? - Computer Applications

Advertisements
Advertisements

प्रश्न

In a statement c = c + (x * d + e); which variable is an accumulator?

विकल्प

  • d

  • c

  • e

  • x

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

c

Explanation:

c is the accumulator because the statement updates c by adding a new amount to its current value (c = c + ...), so c accumulates the running total over repeated executions.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×