Click here to Skip to main content
12,453,354 members (60,524 online)
Click here to Skip to main content

Tagged as

Stats

1.9K views
1 bookmarked
Posted

array of char , array of integers and pointers to constant

, 30 Jan 2013 CPOL
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...

Revisions


  

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

License

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

Share

About the Author

No Biography provided

You may also be interested in...

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