Click here to Skip to main content
11,921,491 members (70,186 online)
Click here to Skip to main content

Tagged as


1 bookmarked

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

You may also be interested in...

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