You are not logged in.

#1 2015-09-16 05:25:24

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

C Language Arrays And Strings Return Value:

C Programming Quizzes C Language Arrays And Strings

Question:
What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC");

Option A):
33
Option B):
0
Option C):
21
Option D):
1

Correct Answer is Option B):
0


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-16 05:25:24

Advertisement
Ads By Google

Re: C Language Arrays And Strings Return Value:



Board footer