Click here to Skip to main content
13,598,498 members
Click here to Skip to main content

Tagged as


1 bookmarked
Posted 30 Jan 2013
Licenced CPOL

array of char , array of integers and pointers to constant

, 30 Jan 2013
I have two questions Question Number 1Part1.cint *p;int a[]={1};p=a;printf("%d",p);part2.cchar *q;char b[]="welcome";q=b;printf("%s",b);in part1.c it prints the address of variable where in part2.c it prints the values that is string? Only the return type is...



Compare Revision Minor Date Status Editor
2 - publicly available No 30-Jan-13 4:05 Available Member 7952396
Updates in content. 88 changes had been made.
1 No 30-Jan-13 4:01 Available Member 7952396


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web02 | 2.8.180621.3 | Last Updated 30 Jan 2013
Article Copyright 2013 by steven8Gerrard
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid