Re: Constant declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any difference in
const char *p="hello";
and
char const *p="hello";

are they both same ?I doubt.

-Gaurav

On 10/12/05, Jon Masters <jonmasters@xxxxxxxxx> wrote:
> On 10/11/05, Felix Oxley <lkml@xxxxxxxxx> wrote:
>
> > Wow! So many answers!
>
> > Thanks to all, I think I have understood it now, and of course if I forget
> I
> > can come back to the mailing list!
>
> Also bear in mind where this is happening, we tend to have issues
> accessing strings before we properly setting paging so in ppc setup we
> need to do relocation by hand.
>
> Jon.
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux