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
I do not know how let this C program run correctly
Aug 21 2012 4:30 AM
#include <stdio.h>
char s[80];
int i, j,n;
int main() {
printf("Type in a word: ");
scanf("%s",s);
printf("Type in a number: ");
scanf("%d",&n);
i = 0;
j = strlen -1;
while (i < j) {
printf("%c",s[i]);
i = i + n;
}
}
Reply
Answers (
5
)
JIT ERROR
Import Data from Excel to a SQL Server 2000 use c#