label question

G

gk

code-1:
-------------

one:

for(int k=0;k<3;k++)
{
//blah

}



code-2:
-------------

one: for(int j=0;j<3;j++)
{
//blah blah
}





does code-1 and code-2 are same ?


please note the difference of positioning of label "one".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,269
Messages
2,571,098
Members
48,773
Latest member
Kaybee

Latest Threads

Top