will it not give an erroneous result since, argc = number of elements in
argv starting from 0?

On Sun, Oct 7, 2012 at 6:33 PM, rahul sharma <rahul23111...@gmail.com>wrote:

> #include<stdio.h>
> int main(int argc,char *argv[])
> {
>
>   printf("%d\n",argv[argc]);
>       getchar();
>       return 0;
>
> }
>
>
> what will it print n y??
> thnx
> rahul
>
> --
> 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.
>



-- 
Abhishek Patro

-- 
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