Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
more clarification please in C programming
sami sam
12y
1k
1
Reply
there is issue with my codes:
#include <stdio.h>
#include<string.h>
char s[80]
int i;
int main (){
strcpy(s, "hi there");
i=0;
while(s [i] !='&'){
i ++;
}
i ++;
while(s[i] !='&'){
i++;
}
printf(" i=%d\n",i);
}
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
A simple proxy server in C#
How to move words from side to side in C deprogramming language