callin all CPP/programming experts to take....

...a small powerful test!!!
hello there!

for a long time, i didnt see wincustomize because i had my exams. i am really surprised about the new features in

wincustomize! keep em going!

well, all u programmers out there. try to predict the output of the following code segments. dont TRY it out!!!! see if u

know the small basics!!!

ok.

FIRST:
are these statements valid? or invalid?
if valid show the output, (leave it aside if it is an infinite loop)
if a loop tell how many times it executes.

1. int a,b;
a=10,b=2;
cout=d);
cout>"hi">>a;
/*assume that i am entering 20 30*/
cout>a);

17.
int a[]={1,2,3,4,5};
for(int i=1;i>cin>>a;

19.
well, do u have anything else? i found all these pretty interesting. pls post them if u have some!!!

how did u feel? like learning c++ again???
hee. these r very small things which are looked over in c++, well,one could have these questions for an exam too! we had! (in

our 11th grade school)


ALL THE BEST!!
1,895 views 6 replies
Reply #1 Top
uh?? what happened to wincustomize?? its not accepting my full message???
Reply #2 Top
ok, i will post it on my webpage. try it there.
http://www.geocities.com/v_mail_in/cpp.txt
Reply #3 Top
Hi Lord Vimal! I was wondering how you are. Glad to see you are well!
Reply #4 Top
thanks.
doin well here! i am having my exams right now.
Reply #6 Top
What are you trying to do? just homework questions; what will the following code do type questions?