Variables in C/C++

True or false:

In only a single instruction of C/C++ Programming Language, we can both declare and initialize a variable.

False True

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

展豪 張
Apr 9, 2016

Yes, for example:

1
int i = 0;  

It declare a variable i then initialize it as 0.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...