5 like 0 dislike
320 views

#include <stdio.h>

#include <string.h>

int main()

{

char *ptr, str[] = "Text";

int i;

   ptr = str;

   for(i = 0; i < strlen(str); i++)

    {

printf("%c", ptr[i]); ptr++;

    }

          return 0;

         }

 

References: C From Theory

[Normal] Essay (Open question) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21973 - Available when: Unlimited - Due to: Unlimited

edited by | 320 views

1 Answer

0 like 0 dislike
Hidden content!
*
answered by (-255 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.71.255.45
©2016-2024

Related questions

5 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21972 - Available when: Unlimited - Due to: Unlimited
| 258 views
4 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21966 - Available when: Unlimited - Due to: Unlimited
| 237 views
5 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21975 - Available when: Unlimited - Due to: Unlimited
| 252 views
4 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21965 - Available when: Unlimited - Due to: Unlimited
| 248 views
4 like 0 dislike
1 answer
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21968 - Available when: Unlimited - Due to: Unlimited
| 297 views
12,783 questions
183,443 answers
172,219 comments
4,824 users