Tuesday, May 15, 2012

Aikmen Series Chapter No.2, Question No.5

Chapter No.2 Question No.5
Question No.5 : Which of the following are valid variable names in C?


No.

Identifier

Remarks

i

income

valid

ii

total marks

invalid, spaces are not allowed

iii

double

invalid,C reserve words

iv

average-score

invalid,- Symbol is not allowed

v
room#
invalid,# symbol is not allowed

vi

_area

valid

vii

no_of_students

valid

viii

long

invalid,C Reserve word

ix

item

valid

x

MAX_SPEED

valid

No comments:

Post a Comment