Variable Definition & Initialization in C++

Some examples are:

externint d, f      // declaration of d and f

int d =3, f =5;// definition and initializing d and f.

byte z =22;// definition and initializes z.

char x =’x’;// the variable x has the value ‘x’.

Related Posts

© 2024 Software Engineering - Theme by WPEnjoy · Powered by WordPress