Using your phone's internet browser
go to:  qna.rediff.com
Click and drag this link to
the Home icon in your browser.
Q.

Where is the duplicate ?

Tags: news & events, politics & government, law & legal
Asked by New moon, 16 Apr 08:08 pm
  Invite a friend  |  
  Save  |  
 Earn 10 points for answering
Answer this question  Earn 10 points for answering    
4000 characters remaining  
  
    
Keep me signed inNew User? Sign up

Answers (7)

1.

The logic to solve this problem isn't that complicated, but your first step should be to write it out on paper, understand how you want to do it, then write the code. ",

You have a simple syntax error, no opening double-quote in your "Enter the number ..." printf statement. Your compiler should be helping you with errors like this. As for the logic, that has to come from you. See below for how I would do it. I've also given you some recommended changes, primarily for input validation. Try entering some bogus input to your program, and you'll soon see the value of the extra effort.

#include

typedef enum false = zero, true bool;

#define MAX_ARRAY_LEN one hundred
#define MAX_LINE_LEN one hundred and twenty-eight

char lineMAX_LINE_LEN;

int mainint argc, char *argv
int arrMAX_ARRAY_LEN;
int i,j,k=zero; ...more
Answered by Mickey, 16 Apr 08:08 pm

 
  
Report abuse
Useful
 (1)
Not Useful
 (1)
Your vote on this answer has already been received
2.

Who is that.....?
Answered by Dil Se, 16 Apr 08:24 pm

 
  
Report abuse
Useful
 (0)
Not Useful
 (1)
Your vote on this answer has already been received
3.

Somewhere on this forum
Answered by iqbal seth, 17 Apr 08:22 am

 
  
Report abuse
Useful
 (0)
Not Useful
 (0)
Your vote on this answer has already been received
4.

Du p is duplicate
Answered by samson aseervatham, 16 Apr 08:43 pm

 
  
Report abuse
Useful
 (0)
Not Useful
 (0)
Your vote on this answer has already been received
5.

Attending the forum with some other ID
Answered by rajnikant raiyarela, 16 Apr 08:34 pm

 
  
Report abuse
Useful
 (0)
Not Useful
 (0)
Your vote on this answer has already been received
6.

Still here
Answered by vedprakash sharma, 16 Apr 08:15 pm

 
  
Report abuse
Useful
 (0)
Not Useful
 (0)
Your vote on this answer has already been received
7.

Origenal is here... search that one
Answered by shrikant dubey, 16 Apr 08:14 pm

 
  
Report abuse
Useful
 (0)
Not Useful
 (0)
Your vote on this answer has already been received

Ask a Question

Get answers from the community

600 characters remaining

Related Answer

Q.
A

Sk To SK Hai SK Jaisa Sirf Duplicate Hi Ho Sakta Hai Original To Possible Hi Nahi :-)..more