pradeep_agrawal

pradeep_agrawal

Member

Member since
May 3, 2006
Last active
Sep 3, 2013
Total activities
0

Activity feed

Recent contributions

  1. #Threads

    44dba7f7-e319-4a88-be72-5d0b298fbe1a

    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/...

  2. #Threads

    b5dedad8-7bac-4e26-895f-47309a9218aa

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

  3. #Threads

    48580f03-0d0f-4278-88a1-44925fd19cdb

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

  4. #Threads

    bca57780-8486-41cd-b849-ab42b991f9db

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

  5. #Threads

    1a0b7717-7197-4bfb-8fd0-6f8f89949233

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

  6. #Threads

    2a79865b-72ea-44aa-a6bb-df41e8421b05

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

  7. #Threads

    a0decda1-3bba-4821-a79c-c043a4433cf6

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

  8. #Threads

    69f947f3-3ab3-4177-9a2c-27967cde549d

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

  9. #Threads

    08ca28dd-b970-48eb-8d79-b8d5f1379e59

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

  10. #Threads

    2cb427ff-43e2-4243-9cd9-1edd1bafa2d9

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

  11. #Threads

    0ab76bea-597f-43d2-9fca-964175b253d9

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

  12. #Threads

    9128821c-472a-4a0b-bac9-d72a8a8ccd58

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

  13. #Threads

    3aa4ee3f-f7f9-4e86-a2f5-36442ec08540

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

  14. #Threads

    ec13ac75-8958-4598-8108-9f4e7a09ba01

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

  15. #Threads

    50e97da9-56e9-40d8-ad7a-6bf8b7f8cfb4

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

  16. #Threads

    a2080530-d10b-476c-9e61-b8d89aacba2c

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

  17. #Threads

    bc1a760f-a957-42bf-aa23-b3614a5fe834

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

  18. #Threads

    57f4a883-0fd7-4a09-b2f1-618b8bc85836

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

  19. #Threads

    8229a258-3fde-44bd-9957-87568c0ffed0

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

  20. #Threads

    66834325-f05b-4a1c-a103-088504463c33

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

  21. #Threads

    52d4dfc9-7638-4921-8f29-65f59cfd1e12

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

  22. #Threads

    593b1815-654d-44db-8aea-d5c01401de48

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

  23. #Threads

    1c0aec76-7732-4a4a-a8ad-43fea04d9759

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

  24. #Threads

    2e764f90-a75a-4249-ab8a-a405b6d95187

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