C Programming - Structures, Unions, Enums - Discussion
Discussion Forum : Structures, Unions, Enums - True / False Questions (Q.No. 6)
6.
Which of the following statement is True?
Discussion:
12 comments Page 2 of 2.
Kavitha said:
2 decades ago
eg:
void add()
{
enum a={mon,tue,wed};
..
..
}
here the enum variables are available only to the add method and not to anyother methods.
void add()
{
enum a={mon,tue,wed};
..
..
}
here the enum variables are available only to the add method and not to anyother methods.
(3)
Swapnil said:
2 decades ago
please give me example
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers