php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In C++ is SPACE is also a charactor??
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#2
Dear student!
You should check initialization of array. String array can be initialised at the time of declaration just as other variables are initialised. For example:
char s1[] = "example";
char s2[20] = "another example" would store the two strings as follows:

s1 |e|x|a|m|p|l|e|\0|
s2 |a|n|o|t|h|e|r| |e|x|a|m|p|l|e|\0|?|?|?|?|
Reply


Messages In This Thread
In C++ is SPACE is also a charactor?? - by sana.pari - 04-24-2011, 04:53 PM
In C++ is SPACE is also a charactor?? - by Support - 04-24-2011, 04:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support