4 like 0 dislike

#include <stdio.h>

int main()

{

char str1[] = "test", str2[] = "test";

(strl == str2) ? printf("One\n") : printf("Two\n");

return 0;

          }

 

References: C From Theory

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

edited by | 133 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.110.198
©2016-2022

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: 21978 - Available when: Unlimited - Due to: Unlimited
| 195 views
5 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: 21977 - Available when: Unlimited - Due to: Unlimited
| 194 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: 21976 - Available when: Unlimited - Due to: Unlimited
| 171 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
| 166 views
5 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: 21973 - Available when: Unlimited - Due to: Unlimited
| 206 views
13,413 questions
202,739 answers
183,587 comments
4,966 users