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

Recommended Answers

All 3 Replies

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.