0

what is identifier in c++? giv example
what is reserved word? example?
data types? example?
declarations?
variables?
assignment?
expression?

4
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by thekashyap
0

Sorry, but this is such basic information that I can only assume that you have made no effort to figure this out on your own. A basic C++ tutorial or book would answer most of these questions in the first couple of pages. Have you used Google to even try to find this on your own? Even better, you shouldn't ask others to do your homework for you. You won't learn anything that way.

0

ok:
what is identifier in c++?
int a, the word "a" is an identifier

what is reserved word? example?
int a, the word int is an reserved

data types? example?
int a, the data is an integer

declarations?
class A;
A*p=f();
class A is an declaration that it declarate the word A is a class

variables?
int a ; the 'a' is a variables,it can assigned 1,or 2,or...

assignment?
a = 3;

expression?
1+2*3/4%5

over

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.