Click here to Skip to main content
13,191,877 members (63,294 online)
Click here to Skip to main content

Tagged as


1 bookmarked
Posted 30 Jan 2013

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 steven8Gerrard
Updates in content. 88 changes had been made.
1 No 30-Jan-13 4: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

You may also be interested in...

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