ranjan kumar ojha <[EMAIL PROTECTED]> wrote: #include<cstdio>
int main()
{
char *s="\12345s\n";
print("%d",sizeof(s));
return 0;
}
what will be output of above program and why ????
hi friend,
your program will give error because you declare a pointer as trying to
assign a value to a pointer at the declaration time.
its not valid and acceptable in C
---------------------------------
Yahoo! Answers - Get better answers from someone who knows. Tryit now.
[Non-text portions of this message have been removed]
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
[Non-text portions of this message have been removed]