menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    C Programming Basic
  4. Exam
    Exam 1: C Programming Language
  5. Question
    Which Is the Right Way to Declare Constant in C
Solved

Which Is the Right Way to Declare Constant in C

Question 21

Question 21

Multiple Choice

Which is the right way to declare constant in C?


A) int constant var =10;
B) int const var = 10;
C) const int var = 10;
D) b & c both

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Q15: What is function?<br>A)function is a block of

Q16: What is Keywords?<br>A)keywords have some predefine meanings

Q17: Bitwise operators can operate upon?<br>A)double and chars<br>B)floats

Q18: What is right way to Initialization array?<br>A)int

Q19: Which one of the following is not

Q20: A C variable cannot start with<br>A)an alphabet<br>B)a

Q22: C programs are converted into machine language

Q23: Which operators are known as Ternary Operator?<br>A)::,

Q24: What is the right way to access

Q25: An array elements are always stored in

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines