You are here:
| Subject | Date Asked |
| C or C++ | 4/29/2012 |
| Q: I'm interested in learning programming. But I can't decide whether I should start with C or C++. Can ... A: If you are new to programming, then let me tell you one thing c++ language is an advanced version of ... | |
| questoin | 3/31/2012 |
| Q: sir, how to write a program to print the following number pyramid 5 54 543 5432 54321 ANSWER: Hi ... A: To write matrix multiplication program we have to make use of 3 for loops nested in it. Here, i have ... | |
| questoin | 3/30/2012 |
| Q: sir, how to write a program to print the following number pyramid 5 54 543 5432 54321 A: To write these type of pyramid program we have to use nested for loops. Inner for loop is for column ... | |
| Generating random numbers | 3/27/2012 |
| Q: Please give a code in C that can generate random numbers following normal distribution. Thanks in ... A: Generating random number is very simple thing to do in C. In C, compiler defined a in-built function ... | |
| c | 3/8/2012 |
| Q: Sir last time I asked you a doubt about solving expressions involving unary increment,unary ... A: In this line , (J=i++ + ++I + --I;) all the times it will calculate the value of i but it will not ... | |
| c | 3/5/2012 |
| Q: sir! my doubt is about solving expression involing ++,--. Void main() { Int i=5; Int j; j=++i + i++ ... A: First of all, thats a very good question you have raised, and I appreciate it. To answer it briefly ... | |
| program not running right way | 11/12/2011 |
| 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 |
| 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 |
| 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 |
| 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 ... | |
| c | 10/30/2011 |
| 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 |
| 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 ... | |
| How to represent a bit in C? | 10/20/2011 |
| 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 ... | |
| C(about error) | 10/11/2011 |
| 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 ... | |
| c | 9/6/2011 |
| 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 ... | |
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.