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
- Active days
- 0
- Longest run
- 0 days
- Current run
- 0 days
Trophies
Featured trophies
0 / 8
Swipe or scroll to see more trophies
-
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"...
-
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...
-
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....
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
Replied #Threads
Enormous Input Test
This is simple and straight forward program. Not scope of much improvement. -Pradeep
-
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...
-
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...
-
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
-
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...
-
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...
-
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...
-
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...
-
Replied #Threads
C programming to Database connection
Below thread on CE forum may be of some help. #-Link-Snipped-# -Pradeep
-
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...
-
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...
-
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;...
Activity by month
Where pradeep_agrawal contributes
-
#Threads 200 · 100%
Highlights
- Reactions per contribution
- 0.0
- Best answers
- 0
- Member for
- 20 years