03-10-2014, 06:37 PM
Anna University , Chennai
Department Of Computer Science
CS6301 Programming And Data Structure II
Question Bank With Answers
1. What is an identifier?
Identifiers are names for various programming elements in c++ program. such as variables,arrays,function, structures, union, labels ect., An identifier can be Composed only of uppercase, lower case letter, underscore and digits, but should start only with an alphabet or an underscore.
2. What is a keyword?
Keywords are word whose meanings have been already defined in the c compiler. They are also called as reserved words. (ex) main(), if, else, else, if, scanf, printf, switch, for, goto, while ect.,
3. Define constant in c++.
Constants in c++ refers to fixed values that do not change during execution of a program.
4. Define a variable.
A quantity ,Which may vary during execution of a program is called as a variable.
For More, Attachment The Attachment
CS6301_qb.pdf (Size: 350.6 KB / Downloads: 3,319)
Sujitha, proud to be a member of Vidyarthiplus.com (V+) - Online Students Community since May 2013.