TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sami sam
NA
40
30.2k
C Programmers please help
Aug 7 2012 7:14 AM
/* Write a program that will count up the number of characters in a string.
Do not use the strlen function*/
#include <stdio.h>
#include <string.h>
chars s[80]
int i;
int main () {
strcpy(s, "Hi");
i = 0;
while(s,[i] 1 = '\0') {
i++;
}
printf{"Hi %d\n",i);
Reply
Answers (
2
)
MouseEnter Event problem for panel with 'Dock' property
dumping data table into Excel file using C#