Q:

Choose the right statement.

0

Choose the right statement.

A)

 int myage = 10; int my_age = 10;

B) 

int myage = 10; int my,age = 10;

C) 

int myage = 10; int my age = 10;

D) All are right

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

answer is A

Explanation:

Only Underscore ( _ ) symbol is allowed in a variable name i.e identifier name. Space, Comma and other special characters are not allowed. 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C programming MCQ from basics to professional

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
what is the number of Keywords present in C Langua... >>
<< Find a Floating Point constant...