You are here:
| Subject | Date Asked | Expert |
| Help needed to write a program in c | 11/18/2011 | Abhishek Kumar |
| Q: I need to write a c program to remove duplicates from a file. I have a wordlist.txt file with ... A: Till now you program looks good. In the end you are copying the entire file into the buffer. Now you ... | ||
| array | 11/17/2011 | Abhishek Kumar |
| Q: i would very much appreciate it if i could get a response from you today. i am new to this site and ... A: I have written code for you but from next time i want you to at least try before asking. And for ... | ||
| C arrays | 11/12/2011 | Zlatko |
| Q: I have a problem and I don't know how to explain it. I have a projects and it uses a -1 index, like ... A: It's possible to have a -1 index. The compiler will accept it but it is not a good idea. I would say ... | ||
| program not running right way | 11/12/2011 | Kedar Desai |
| Q: #include<conio.h> #include<stdio.h> #include<process.h> #include<alloc.h> #include"dos.h" // for ... A: whenever we put ; after the for statement it executes the statement block whenever condition goes ... | ||
| program not running right way | 11/11/2011 | Kedar Desai |
| Q: #include<conio.h> #include<stdio.h> #include<process.h> #include<alloc.h> #include"dos.h" // for ... A: There is a syntax error while writng calloc function. Calloc function always takes 2 parameters. One ... | ||
| arrays of different sized elements | 11/9/2011 | Kedar Desai |
| Q: I'd want to know if there is any way in C to do the following/ -create an array with different sized ... A: No, in C each element of an array have to be of the same type (and thus the same size as well). I ... | ||
| Multiple page output | 11/7/2011 | Kedar Desai |
| Q: I am coding a program which keeps record of all employees of an organization. There is an option to ... A: Sir, I don't know about multiple pages in C. But, You have another option for this is to show 5 ... | ||
| Making a character bright in C | 10/31/2011 | Zlatko |
| Q: I have a problem in C. I am coding a menu driven program that has four options in the main menu: Add ... A: There is no specific way of doing this in C or C++. It will depend on the operating system you are ... | ||
| c | 10/30/2011 | Kedar Desai |
| Q: #error is used to display user defined messages during compilation of a programme. This is my ... A: #error produces compile time error messages. Syntax: #error token_string The error messages include ... | ||
| C | 10/30/2011 | Kedar Desai |
| Q: write a program to find roots of a quadratic equation. A: #include<stdio.h> #include<math.h> void main() { int a,b,c; float d,p,q,r,s; printf("\n\n Enter ... | ||
| c | 10/30/2011 | Zlatko |
| Q: Sir #error is used to display user defined messages during compilation of a programme. This is my ... A: The purpose of #error is to tell the programmer that some condition necessary for compiling has not ... | ||
| Fibonacci Sequence | 10/23/2011 | Zlatko |
| Q: How to print Fibonacci Sequence using loop and function? Can I install Turbo C/C++ on Windows 7? Is ... A: I've made a video for you to show you how to get started with Visual Studio. I'm sure you can find ... | ||
| Fibonacci Sequence | 10/22/2011 | Zlatko |
| Q: How to print Fibonacci Sequence using loop and function? Can I install Turbo C/C++ on Windows 7? Is ... A: I don't know anything about how to find or install turbo C. I do know that it is a very old compiler ... | ||
| How to represent a bit in C? details below? | 10/20/2011 | Zlatko |
| Q: you can represent a byte with a type char and for a word(32 bits) with an int. Is there any way you ... A: There is no datatype that is 1 bit long, but there is a way to split a short or int into regions ... | ||
| How to represent a bit in C? | 10/20/2011 | Kedar Desai |
| Q: you can represent a byte with a type char and for a word(32 bits) with an int. Is there any way you ... A: A bit can only be 1 or 0. So you can use almost any type to represent it really. C doesn't have any ... | ||
| Help with developing my skills C | 10/17/2011 | Zlatko |
| Q: I am an electrical engineer, currently working in th einformation security field, I know much about ... A: For UNIX programming and UNIX network programming, I highly recommend the books by Richard Stevens ... | ||
| C(about error) | 10/11/2011 | Kedar Desai |
| Q: What is the linking error?(please give the example with explanation) A: Linking error in C program comes because there is some problem with linking of files that are ... | ||
| How to write Algorithms.. | 10/10/2011 | Prince M. Premnath |
| Q: what are the steps to be followed to write an algorithms for a given problem.?and please give ... A: Well Its pretty simple.. Its just a systematic procedure how you are going to accomplish a solution ... | ||
| program in c | 10/10/2011 | Zlatko |
| Q: Write a program in C using only loops to print 1 121 12321 1234321 ... A: If you are having trouble with this, then try to solve a simpler problem. Once you have the simpler ... | ||
| function should return a value | 10/6/2011 | Prince M. Premnath |
| Q: i m beginner... I think it is very easy q. so plz tell me whr i m wrong? When i compile this program ... A: Since the default return value of all the functions is int .. even for main() .. so the compiler ... | ||
| c | 10/1/2011 | Abhishek Kumar |
| Q: sir can you explain about #pragma preprocessor directive .i have read some books but i could not ... A: A pragma is an instruction to your compiler to perform some particular action at compile time. ... | ||
| c | 10/1/2011 | Zlatko |
| Q: sir my doubt is about .exe file stages in c.these are the stages in .exe file creation.i have read ... A: I can help you see some of the stages. How to do so depends on the compiler you are using. I use two ... | ||
| Deleting all C: files on ones Windows XP pc | 9/30/2011 | Zlatko |
| Q: "system" call to delete files: I have a pc with windows XP; consider the following six line C code: ... A: Your idea to delete all the files on the C drive will probably not work for a number of reasons. ... | ||
| c questions | 9/29/2011 | Prince M. Premnath |
| Q: sir i know how to write the program in c language . it means i think i have good knowledge of c ... A: . Nice you hear that you have a wide variety of knowledge ..I really don't have any idea about how ... | ||
| C language | 9/28/2011 | Zlatko |
| Q: What is the output of the statement printf("%c","abcdef"); How & Why? A: In C, any text in quotes is a string. The string is a sequence of bytes in memory. Any text in ... | ||
| Core Dump | 9/28/2011 | Zlatko |
| Q: This is Lakshmipathy. I am facing segmentation fault one of C++ library. When i have tried to debug ... A: It is impossible to know the reason for the core dump without seeing the code. Core dumps often ... | ||
| c | 9/26/2011 | Zlatko |
| Q: sir thanks for your concern about,my doubts. todays my doubt is about tress. what is meant by ... A: Look at this picture http://en.wikipedia.org/wiki/File:Sorted_binary_tree.svg The in-order ... | ||
| convert decimal to computational field of cobol using c | 9/13/2011 | Zlatko |
| Q: the computational field in cobol saves a number in binary but in compressed form i.e. +999 or -999 ... A: In C and C++ integers are stored as binary data. It is different from cobol where numbers are stored ... | ||
| Unexpected Output | 9/11/2011 | Zlatko |
| Q: I have a problem in C File I/O program. The part where the problem lies is given below: void ... A: I think the problem is that the mobile field in the member_data and list_data is too short. The char ... | ||
| Unexpected Output | 9/10/2011 | Zlatko |
| Q: I have a problem in C File I/O program. The part where the problem lies is given below: void ... A: It is difficult to say what the problem might be without seeing the other function. Check to make ... | ||
| c | 9/6/2011 | Kedar Desai |
| Q: 6. Write a program to find out the combination of an element of each array gives a result 0. For ... A: sir, Sorry for the late reply. I read your question. I think we can solve this program using 3 ... | ||
| c++/oop | 9/5/2011 | Zlatko |
| Q: I wrote this program to reverse a string using dynamic constructor concept but this shows a garbage ... A: The first problem with the code is here: rstring obj1,obj2; obj1.rev(); Notice that you are ... | ||
| Unfamiliar C syntax. | 8/24/2011 | Abhishek Kumar |
| Q: I obtained some free floating point test code that compiles but contains numerous instances of the ... A: Sorry for the delayed reply. I think these are just characters that are used in defining tokens. ... | ||
| double pointer behaviour | 8/24/2011 | Zlatko |
| Q: Please find the following code snippet. int arr[3][4] = {10,20,30,40,50,60,70,80,90,100,110,120}; ... A: That is a good question. The code happens to work for integers, but if you change it to shorts, you ... | ||
| Explaining NULL | 8/19/2011 | Zlatko |
| Q: How to explain NULL to students since they donot get the concept of strings,and ask about their real ... A: The idea of NULL should be no more difficult than the idea of zero or nothing. Don't make it seem ... | ||
| Could you plz help me in solving my general query regarding recruitment process ? | 8/18/2011 | Abhishek Kumar |
| Q: This is sanjeev MCA student (Final year).Could you plz help me in solving my following general query ... A: Here they mean that you % in all 10, 12 and Graduation should be more than 65% individually. And By ... | ||
| C++ troubleshooting. | 8/17/2011 | Abhishek Kumar |
| Q: 0 in my windows xp 32 bit. When i run it....the blank black screen appears and then it closed again ... A: You can go through these links: http://www.horstmann.com/ccc/help/tc30p.html ... | ||
| c | 8/9/2011 | Abhishek Kumar |
| Q: how we can use the do and while loop in c program. A: When ever you want to execute a statement atleast one and after that depending on the condition you ... | ||
| logic degsin | 7/21/2011 | Zlatko |
| Q: 1.Draw the circuit for 3-to-8 line decoder. A: What is the truth table for a three to 8 decoder? You have 3 inputs, A, B, C, and 8 outputs Q1 ... | ||
| c | 7/20/2011 | Abhishek Kumar |
| Q: Discuss biteise operations A: I think you want to know about bitwise operators. I can direct you to a pdf which will tell you what ... | ||
Page: Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next All
Answers by Expert:
Top Expert on this page
You can ask me any questions about C and c++
I don't have practical experience. But i have knowledge about C as I belong to IT field since last 5 years.
Education/Credentials
I an studying in MCA from Maharashtra (Mumbai University)

©2012 About.com, a part of The New York Times Company. All rights reserved.