3

On Mon, Aug 15, 2011 at 12:38 AM, Adi Srikanth <adisriika...@gmail.com>wrote:

> int main()
> {
>        int x=0,t=0;
>
>        switch(x)
>        {
>        case 0: x++;
>        do {
>
>        case 1:t++;
>        case 2:t++;
>        case 3:t++;
>
>
>        x++;
>        } while(x>2);
>
>
>
>
>        }
>        printf("%d\n",t);
>        return 0;
>
> }
>
>
> t will be wat???...3, 6 or 9
>
> Regards,
> Srikanth.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Aditi Garg
Undergraduate Student
Electronics & Communication Divison
NETAJI SUBHAS INSTITUTE OF TECHNOLOGY
Sector 3, Dwarka
New Delhi

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to