There will be no output ... as your program will fail to compile !!
ranjan kumar ojha wrote:
> #include<cstdio>
> int main()
> {
> char *s="\12345s\n";
> print("%d",sizeof(s));
> return 0;
> }
>
> what will be output of above program and why ????
>
>
> ---------------------------------
> Yahoo! Answers - Get better answers from someone who knows. Tryit now.
>
> [Non-text portions of this message have been removed]
>
>
> - [c-prog] Simple C objective question...... ranjan kumar ojha
- Re: [c-prog] Simple C objective question...... Knowledge Seeker
- [c-prog] Re: Simple C objective question...... Nico Heinze
- Re: [c-prog] Re: Simple C objective questio... Knowledge Seeker
- [c-prog] Re: Simple C objective questio... Nico Heinze
- Re: [c-prog] Re: Simple C objectiv... Knowledge Seeker
- Re: [c-prog] Simple C objective question...... rahul chaudhary
- Re: [c-prog] Simple C objective question...... Dipak Gaigole
- [c-prog] Re: Simple C objective question...... Nico Heinze
