pradeep_agrawal
Member
- Member since
- May 3, 2006
- Last active
- Sep 3, 2013
- Total activities
- 0
Activity feed
Recent contributions
-
#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/...
-
#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...
-
#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...
-
#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...
-
#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...
-
#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) {...
-
#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...
-
#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...
-
#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...
-
#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...
-
#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...
-
#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,...
-
#Threads
3aa4ee3f-f7f9-4e86-a2f5-36442ec08540
This is simple and straight forward program. Not scope of much improvement. -Pradeep
-
#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...
-
#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...
-
#Threads
a2080530-d10b-476c-9e61-b8d89aacba2c
The code is working fine for me. I compiled and executed the code using JDK 6. -Pradeep
-
#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...
-
#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...
-
#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...
-
#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 '\\'...
-
#Threads
52d4dfc9-7638-4921-8f29-65f59cfd1e12
Below thread on CE forum may be of some help. #-Link-Snipped-# -Pradeep
-
#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...
-
#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...
-
#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)...
-
#Threads
6bb84a53-05de-4b51-969f-b179657b6fbd
Good work buddy, now we have one working code 😁 I have few suggestions: 1. I feel the cout and for loop...
-
#Threads
3019273d-3367-4d7f-a1e7-aa38def064c7
safwanIs VB alllowed ?You can post solution in any language of your choice. -Pradeep
-
#Threads
96a5180a-1bd3-46a0-b739-80e16a74a654
@Durga, Big K Will surely start with the C programming threads, let me finalize what to include and a suitable sequence for...
-
#Threads
224e872c-6f05-41b9-803c-ac2e6e2c376f
durgaBy thew ay I was thinking I will put up my unfinished project and take your help completing it. though my Prof...
-
#Threads
d9ed6915-4e18-4812-91a4-1d64de3e8907
Re: Write a C program @Shalini, i looked into the code. The problem is with the logic of function getMoreReducedFormCombinations. As per...
-
#Threads
02d0315a-e5c5-4908-abc1-9656710fd337
Solution looks good to me, good work mech_guy. -Pradeep