Report Bug

QusWhich statement about constants in Embedded C is TRUE? QusEmbedded C में constants के बारे में कौन-सा कथन सही है?


A. #define consumes SRAM
B. const variables are stored in flash by default
C. Literals do not occupy memory
D. Constants prevent accidental modification


Solution
D. Constants prevent accidental modification



Explanation
Declaring a value as constant prevents normal program code from modifying it accidentally, improving code safety and clarity.

किसी value को constant घोषित करने से program में उसका अनजाने में modification रोका जा सकता है। इससे code अधिक सुरक्षित और स्पष्ट बनता है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad