skip to main
|
skip to sidebar
Technical
Custom Search
Thursday, March 15, 2007
C - Review II 25
25.main(){
int i, n;
char *x = “girl”;
n = strlen(x);
*x = x[n];
for(i=0; i < n; ++i)
{
printf(“%s\n”,x);
x++;
}
}
Output: segmentation fault
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
sumanb
visit my page www.sumanb.co.nr
View my complete profile
My Other Links
My personal Blog
Placement Stuff
My e-Snips
My Homepage
Yahoo chat
Blog Archive
►
2009
(1)
►
July
(1)
▼
2007
(31)
►
December
(1)
►
November
(1)
►
October
(5)
►
April
(4)
▼
March
(20)
Question for the week -2
Questions for the week - 1
Quine
C - Review II
C - Review II 3
C - Review II 4 ,5
C - Review II 6,7
C - Review II 8 - 11
C - Review II 12 - 14
C - Review II 15,16
C - Review II 17-20
C - Review II 21,22
C - Review II 23,24
C - Review II 25
C - Review II 26,27
C - Review II 28
C - Review II 29,30,31
C Review - I
Never run yum remove yum
Yum, it sucks man
Visitors till now
Visitor locations
No comments:
Post a Comment