Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

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...



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


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

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150326.1 | Last Updated 30 Jan 2013
Article Copyright 2013 by steven8Gerrard
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid