pradeep_agrawal

pradeep_agrawal

@pradeep-agrawal-rhdX5z Member

Member since
Joined
Last active
Active
Member number
Member #500
Posts
11
Replies
189
Reactions
0
Active days
0

Contributions

Last 12 months

0 contributions

May Jul Aug Sep Oct Nov No contributions on Mon, May 25, 2026 No contributions on Tue, May 26, 2026 No contributions on Wed, May 27, 2026 No contributions on Thu, May 28, 2026 No contributions on Fri, May 29, 2026 No contributions on Sat, May 30, 2026 No contributions on Sun, May 31, 2026 No contributions on Mon, Jun 1, 2026 No contributions on Tue, Jun 2, 2026 No contributions on Wed, Jun 3, 2026 No contributions on Thu, Jun 4, 2026 No contributions on Fri, Jun 5, 2026 No contributions on Sat, Jun 6, 2026 No contributions on Sun, Jun 7, 2026 No contributions on Mon, Jun 8, 2026 No contributions on Tue, Jun 9, 2026 No contributions on Wed, Jun 10, 2026 No contributions on Thu, Jun 11, 2026 No contributions on Fri, Jun 12, 2026 No contributions on Sat, Jun 13, 2026 No contributions on Sun, Jun 14, 2026 No contributions on Mon, Jun 15, 2026 No contributions on Tue, Jun 16, 2026 No contributions on Wed, Jun 17, 2026 No contributions on Thu, Jun 18, 2026 No contributions on Fri, Jun 19, 2026 No contributions on Sat, Jun 20, 2026 No contributions on Sun, Jun 21, 2026 No contributions on Mon, Jun 22, 2026 No contributions on Tue, Jun 23, 2026 No contributions on Wed, Jun 24, 2026 No contributions on Thu, Jun 25, 2026 No contributions on Fri, Jun 26, 2026 No contributions on Sat, Jun 27, 2026 No contributions on Sun, Jun 28, 2026 No contributions on Mon, Jun 29, 2026 No contributions on Tue, Jun 30, 2026 No contributions on Wed, Jul 1, 2026 No contributions on Thu, Jul 2, 2026 No contributions on Fri, Jul 3, 2026 No contributions on Sat, Jul 4, 2026 No contributions on Sun, Jul 5, 2026 No contributions on Mon, Jul 6, 2026 No contributions on Tue, Jul 7, 2026 No contributions on Wed, Jul 8, 2026 No contributions on Thu, Jul 9, 2026 No contributions on Fri, Jul 10, 2026 No contributions on Sat, Jul 11, 2026 No contributions on Sun, Jul 12, 2026 No contributions on Mon, Jul 13, 2026 No contributions on Tue, Jul 14, 2026 No contributions on Wed, Jul 15, 2026 No contributions on Thu, Jul 16, 2026 No contributions on Fri, Jul 17, 2026 No contributions on Sat, Jul 18, 2026 No contributions on Sun, Jul 19, 2026 No contributions on Mon, Jul 20, 2026 No contributions on Tue, Jul 21, 2026 No contributions on Wed, Jul 22, 2026 No contributions on Thu, Jul 23, 2026 No contributions on Fri, Jul 24, 2026 No contributions on Sat, Jul 25, 2026 No contributions on Sun, Jul 26, 2026 No contributions on Mon, Jul 27, 2026 No contributions on Tue, Jul 28, 2026 No contributions on Wed, Jul 29, 2026 No contributions on Thu, Jul 30, 2026 No contributions on Fri, Jul 31, 2026 No contributions on Sat, Aug 1, 2026 No contributions on Sun, Aug 2, 2026 No contributions on Mon, Aug 3, 2026 No contributions on Tue, Aug 4, 2026 No contributions on Wed, Aug 5, 2026 No contributions on Thu, Aug 6, 2026 No contributions on Fri, Aug 7, 2026 No contributions on Sat, Aug 8, 2026 No contributions on Sun, Aug 9, 2026 No contributions on Mon, Aug 10, 2026 No contributions on Tue, Aug 11, 2026 No contributions on Wed, Aug 12, 2026 No contributions on Thu, Aug 13, 2026 No contributions on Fri, Aug 14, 2026 No contributions on Sat, Aug 15, 2026 No contributions on Sun, Aug 16, 2026 No contributions on Mon, Aug 17, 2026 No contributions on Tue, Aug 18, 2026 No contributions on Wed, Aug 19, 2026 No contributions on Thu, Aug 20, 2026 No contributions on Fri, Aug 21, 2026 No contributions on Sat, Aug 22, 2026 No contributions on Sun, Aug 23, 2026 No contributions on Mon, Aug 24, 2026 No contributions on Tue, Aug 25, 2026 No contributions on Wed, Aug 26, 2026 No contributions on Thu, Aug 27, 2026 No contributions on Fri, Aug 28, 2026 No contributions on Sat, Aug 29, 2026 No contributions on Sun, Aug 30, 2026 No contributions on Mon, Aug 31, 2026 No contributions on Tue, Sep 1, 2026 No contributions on Wed, Sep 2, 2026 No contributions on Thu, Sep 3, 2026 No contributions on Fri, Sep 4, 2026 No contributions on Sat, Sep 5, 2026 No contributions on Sun, Sep 6, 2026 No contributions on Mon, Sep 7, 2026 No contributions on Tue, Sep 8, 2026 No contributions on Wed, Sep 9, 2026 No contributions on Thu, Sep 10, 2026 No contributions on Fri, Sep 11, 2026 No contributions on Sat, Sep 12, 2026 No contributions on Sun, Sep 13, 2026 No contributions on Mon, Sep 14, 2026 No contributions on Tue, Sep 15, 2026 No contributions on Wed, Sep 16, 2026 No contributions on Thu, Sep 17, 2026 No contributions on Fri, Sep 18, 2026 No contributions on Sat, Sep 19, 2026 No contributions on Sun, Sep 20, 2026 No contributions on Mon, Sep 21, 2026 No contributions on Tue, Sep 22, 2026 No contributions on Wed, Sep 23, 2026 No contributions on Thu, Sep 24, 2026 No contributions on Fri, Sep 25, 2026 No contributions on Sat, Sep 26, 2026 No contributions on Sun, Sep 27, 2026 No contributions on Mon, Sep 28, 2026 No contributions on Tue, Sep 29, 2026 No contributions on Wed, Sep 30, 2026 No contributions on Thu, Oct 1, 2026 No contributions on Fri, Oct 2, 2026 No contributions on Sat, Oct 3, 2026 No contributions on Sun, Oct 4, 2026 No contributions on Mon, Oct 5, 2026 No contributions on Tue, Oct 6, 2026 No contributions on Wed, Oct 7, 2026 No contributions on Thu, Oct 8, 2026 No contributions on Fri, Oct 9, 2026 No contributions on Sat, Oct 10, 2026 No contributions on Sun, Oct 11, 2026 No contributions on Mon, Oct 12, 2026 No contributions on Tue, Oct 13, 2026 No contributions on Wed, Oct 14, 2026 No contributions on Thu, Oct 15, 2026 No contributions on Fri, Oct 16, 2026 No contributions on Sat, Oct 17, 2026 No contributions on Sun, Oct 18, 2026 No contributions on Mon, Oct 19, 2026 No contributions on Tue, Oct 20, 2026 No contributions on Wed, Oct 21, 2026 No contributions on Thu, Oct 22, 2026 No contributions on Fri, Oct 23, 2026 No contributions on Sat, Oct 24, 2026 No contributions on Sun, Oct 25, 2026 No contributions on Mon, Oct 26, 2026 No contributions on Tue, Oct 27, 2026 No contributions on Wed, Oct 28, 2026 No contributions on Thu, Oct 29, 2026 No contributions on Fri, Oct 30, 2026 No contributions on Sat, Oct 31, 2026 No contributions on Sun, Nov 1, 2026 No contributions on Mon, Nov 2, 2026 No contributions on Tue, Nov 3, 2026 No contributions on Wed, Nov 4, 2026 No contributions on Thu, Nov 5, 2026 No contributions on Fri, Nov 6, 2026 No contributions on Sat, Nov 7, 2026 No contributions on Sun, Nov 8, 2026 No contributions on Mon, Nov 9, 2026 No contributions on Tue, Nov 10, 2026 No contributions on Wed, Nov 11, 2026 No contributions on Thu, Nov 12, 2026 No contributions on Fri, Nov 13, 2026 No contributions on Sat, Nov 14, 2026 No contributions on Sun, Nov 15, 2026 No contributions on Mon, Nov 16, 2026 No contributions on Tue, Nov 17, 2026 No contributions on Wed, Nov 18, 2026 No contributions on Thu, Nov 19, 2026 No contributions on Fri, Nov 20, 2026 No contributions on Sat, Nov 21, 2026 No contributions on Sun, Nov 22, 2026
Active days
0
Longest run
0 days
Current run
0 days

Trophies

Featured trophies

0 / 8

Recent contributions

  1. Replied #Threads

    Decimal to binary conversion

    Currently IEEE-754 is being used as standard for storing decimal numbers (or rather say float point numbers) in memory. Refer <a href="https://en.wikipedia.org/wiki/Floating_point"...

  2. Replied #Threads

    C programming doubt ?

    Based on ANSI C specification, if the argument passed to free does not matches with value returned by malloc/calloc/realloc, or if the space has already been...

  3. Replied #Threads

    Recommend a C++ book for begineers

    For making strong base, instead of Balaguruswamy or Let Us C++, I would recommend Thinking in C++ (Vol.1 and Vol. 2) by Bruce Eckel for startup....

  4. Replied #Threads

    2nd c++ Problem

    Find below my piece of code for same. #include "stdio.h" int main() { int choice = 0; int sum = 0; while(sum != 20) { while((choice...

  5. Replied #Threads

    What is the minimum value of char type?

    In C a variable of type char can also hold a -ve value and the range is from -128 to 127. So the min. value taht...

  6. Replied #Threads

    How to write programme for 'M' for loops dynamically

    Below is my code for the given problem statement solved using recursion. #include "stdio.h" void function(int m, int n, int* loopIndexes) { printf("Hello\n"); } void mNumber...

  7. Replied #Threads

    Double linked list program

    Refer the below post in which i have used doubly linked list as a stack. By looking into the code you should be able to write...

  8. Replied #Threads

    help in a program for linked list

    Re: help in a program samairacan anyone give me the program for linked list with the foll conditions: 1.first node is created 2.we have to ask...

  9. Replied #Threads

    Write a program to generate RPN expression

    sookie@Pradeep Regarding limitations pointed out by you - Brackets & precedence : good thing, I will see if I can add that into my above program...

  10. Replied #Threads

    Write a program to generate RPN expression

    sookieHere goes my program in Java. Please check and review for improvements if it is failing for any expressions. I am very bad in testing my...

  11. Replied #Threads

    Write a program to generate RPN expression

    The above code works as per the given problem statement but have below limitations: 1. Does not give suitable output/error for invalid expressions 2. Need any...

  12. Replied #Threads

    Write a program to generate RPN expression

    Find below my sample code for given problem statement. #include "stdio.h" #define MAX_EXPRESSION_SIZE 400 typedef enum { OPERAND = 0, OPERATOR, BRACKET, STR } datatype_t; type...

  13. Replied #Threads

    Enormous Input Test

    This is simple and straight forward program. Not scope of much improvement. -Pradeep

  14. Replied #Threads

    select m*m matrix from m*n matrix

    Could you please add more details on how the number of combinations can be c(n,m). As per me if you do simple selection (without crossing boundaries...

  15. Replied #Threads

    confusion in "union"

    In union memory is shared between different variables which can be used for: - Manipulation of value of variable of one type by manipulation variable of...

  16. Replied #Threads

    Help me: Find the error in this java program

    The code is working fine for me. I compiled and executed the code using JDK 6. -Pradeep

  17. Replied #Threads

    What is .dll file ?

    DLL stands for Dynamic Link Library. These are the libraries (collection of subroutines or classes) which can be dynamically loaded by other programs. The DLL is...

  18. Replied #Threads

    Can anyone explain the exception concept in this JAVA program?

    zia.sepsisso do you mean that... if the user doesn't give any input, the catch block will be executed.. am i right with my view????No, the program...

  19. Replied #Threads

    Can anyone explain the exception concept in this JAVA program?

    In the given code the readLine() method on object of BufferedReader is being called. This functions returns the string for the line read from the specified...

  20. Replied #Threads

    Please help me find error in the program

    Reason why the code was not working is: 1. While taking user input for adding more record "(Y\N)" is used, instead '\\' should be used as...

  21. Replied #Threads

    C programming to Database connection

    Below thread on CE forum may be of some help. #-Link-Snipped-# -Pradeep

  22. Replied #Threads

    find the error in this program

    Yes, English-Scared is right. Removing the two scanf statement (each present inside case statement) will fix the issue. I have modified your code with above change...

  23. Replied #Threads

    Representing number as sum of smaller numbers

    @mech_guy I was comparing the results of your code with the results of my code. Your code worked fine till N=10. But after that it skipped...

  24. Replied #Threads

    Representing number as sum of smaller numbers

    Below is my solution to the problem: #include "stdio.h" void displayseries(int* series, int count) { int i = 0; if(count != 0) { for(i = 0;...

  25. Replied #Threads

    Representing number as sum of smaller numbers

    Good work buddy, now we have one working code 😁 I have few suggestions: 1. I feel the cout and for loop at the end of...

  26. Replied #Threads

    Representing number as sum of smaller numbers

    safwanIs VB alllowed ?You can post solution in any language of your choice. -Pradeep

  27. Replied #Threads

    KYCEan - Pradeep_Agrawal

    @Durga, Big K Will surely start with the C programming threads, let me finalize what to include and a suitable sequence for same. -Pradeep

  28. Replied #Threads

    KYCEan - Pradeep_Agrawal

    durgaBy thew ay I was thinking I will put up my unfinished project and take your help completing it. though my Prof awarded 80 % marsk...

  29. Replied #Threads

    Representing number as sum of smaller numbers

    Re: Write a C program @Shalini, i looked into the code. The problem is with the logic of function getMoreReducedFormCombinations. As per the logic of the...

  30. Replied #Threads

    How Much Alcohol :P

    Solution looks good to me, good work mech_guy. -Pradeep

  31. Replied #Threads

    KYCEan - Pradeep_Agrawal

    durgaAishwarya ..ooo mate she has grown old.. go for megan fox 😛 😁I don't mind going for Megan Fox if you can get her as a...

  32. Replied #Threads

    KYCEan - Pradeep_Agrawal

    RajdeepCEOne humble question pradeep sir, What is your advise to fresh or final year computer engineering student?I would just say, if you want to go for...

  33. Replied #Threads

    KYCEan - Pradeep_Agrawal

    crazyboyPradeep is very fond of exploring new places with buddies...Ahhh, how i missed that. Either it was the long summer or the side effect of the...

  34. Replied #Threads

    KYCEan - Pradeep_Agrawal

    The_Big_KPradeep is also an actor: Was involved in making a movie based on life of a software engineer, titled "Three Point No One" 😁 Unfortunately, the...

  35. Replied #Threads

    Representing number as sum of smaller numbers

    Re: Write a C program sahithi pallaviHi everyone...I tried this program in C...but I am not successfull. can anybody pls help me....sahithi pallavi, let us know...

  36. Replied #Threads

    Representing number as sum of smaller numbers

    Re: Write a C program @Uday Good code buddy, liked the use of available function. Mastering over all languages huh.😉 @All Will wait for few more...

  37. Replied #Threads

    GF's Passtime Puzzles--With New Format

    Here is my solution: Friend A = 1 min Friend B = 2 min Friend C = 5 min Friend D = 8 min Step 1:...

  38. Replied #Threads

    Representing number as sum of smaller numbers

    Re: Write a C program I feel this is a good problem statement to code. Any takers? -Pradeep

  39. Replied #Threads

    Rabbit Puzzle

    That was also a good try mech_guy. But the formula that you have given works correctly till n = 6. When we have n = 7:...

  40. Replied #Threads

    Seven Sportsmen

    The answer has a logic behind it. The single digit numbers are 0 to 9. But there are only 7 batsman and each have different digits...

  41. Replied #Threads

    GF's Passtime Puzzles--With New Format

    shalini_goel14OLet us suppose a car travels 1 km from some point A to some point B then that means wheels traveled 4 km[as per Scorpion 1*4...

  42. Replied #Threads

    Rabbit Puzzle

    That's cool silverscorpion, this works 😀 -Pradeep

  43. Replied #Threads

    Rabbit Puzzle

    silverscorpion, not sure how you derived the formula. I tried with different value of n and i am not getting correct answers, e.g., For n =...

  44. Replied #Threads

    Rabbit Puzzle

    RajdeepCESo the answer will be nth element of fibonacci series.Yes that the correct answer that the number of rabbits on nth day will be the nth...

  45. Replied #Threads

    Blue Pill Problem

    here is my solution: I will take out one more tablet of Sildenafil and will dissolve all in a glass of water. Once all the four...

  46. Replied #Threads

    The King and the Poison

    That's really an interesting problem buddy. Here is my solution: Treasurer Thought: 1. He will think that pharmacist will make the strongest poison so that pharmacist...

  47. Replied #Threads

    Seven Sportsmen

    The number of middle batsman can be 2 and the series can be 3 6 4 2 9 8 1 Here, product of first three =...

  48. Replied #Threads

    GF's Passtime Puzzles--With New Format

    By 1939yr and 1932yr i mean the age of the people. That i calculated based on the tribulation period which was of 7years (2555 days). If...

  49. Replied #Threads

    Rabbit Puzzle

    shalini_goel14No each rabbit can give birth only in second month so for 1 month[i.e n=1] there will be 0 rabbit. PS: Correct me if wrong.Yep, you...

  50. Replied #Threads

    Rabbit Puzzle

    I edited the post to make question more clear. -Pradeep

  51. Posted #Threads

    Rabbit Puzzle

    There is a closed room where we left a rabbit. That rabbit has a unique property. It starts giving birth after 2nd month of its own...

    21 replies
  52. Replied #Threads

    help needed in a c program

    I just forgot that the function sprintf is being used in the code given in the first post of the thread. My apologies. If you would...

  53. Replied #Threads

    GF's Passtime Puzzles--With New Format

    Is it 1939yr and 1932yr? -Pradeep

  54. Replied #Threads

    help needed in a c program

    Hi ashutoshglamour, instead of posting new query in any existing thread please start a new thread for new query. -Pradeep

  55. Replied #Threads

    Count Doors

    Let me explain the logic behind the solution. A person can visit a door only if the door number is completely divisible by the number associated...

  56. Replied #Threads

    The Boxes

    Here is my solution: Pick a fruit from box "Apple and Orange". If the fruit is Apple: Apple and Orange -> Apple Orange -> Apple and...

  57. Replied #Threads

    Count Doors

    tech_vaibhav_ee, you are really good at puzzle solving. Both the answer and the explanation given above is correct. -Pradeep

  58. Posted #Threads

    Count Doors

    There are 1000 rooms (numbered from 1 to 1000) and 1000 persons (also numbered from 1 to 1000). Assume that all doors are closed at first....

    7 replies
  59. Replied #Threads

    Horse Race

    That was quick. It's a correct answer with correct and good explanation. Good going English-Scared. -Pradeep

  60. Posted #Threads

    Horse Race

    There are 25 horses. Given that only five horses can run at a time in a race, how many races do you need to find top...

    2 replies

Activity by month

December 2025: 0 posts, 0 replies D January 2026: 0 posts, 0 replies J February 2026: 0 posts, 0 replies F March 2026: 0 posts, 0 replies M April 2026: 0 posts, 0 replies A May 2026: 0 posts, 0 replies M June 2026: 0 posts, 0 replies J July 2026: 0 posts, 0 replies J August 2026: 0 posts, 0 replies A September 2026: 0 posts, 0 replies S October 2026: 0 posts, 0 replies O November 2026: 0 posts, 0 replies N

Where pradeep_agrawal contributes

  1. #Threads 200 · 100%

Highlights

Reactions per contribution
0.0
Best answers
0
Member for
20 years