Forum: C Nov 9th, 2009 |
| Replies: 1 Views: 142 A hospital keeps a file of blood donors in which each record has the following information
(i) Name
(ii) Age
(iii) Address
(iv) Contact no.
(v) Blood group.
I have to write a program to... |
Forum: C Aug 11th, 2009 |
| Replies: 3 Views: 949 Hello all,
I am implementing linked list programs in C. And for that i want to know more about Self Referential Structure in C. If anyone knows more detail information about it then... |
Forum: C Nov 20th, 2008 |
| Replies: 6 Views: 1,880 Hye, that's user's choice!
Order of the matrix will be entered by the user according to his/her choice as the the matrix he/her wants to sort
Output will be as below:
Enter the order of the... |
Forum: C Nov 19th, 2008 |
| Replies: 1 Views: 442 H!
Aim of my program is: Write a program using recursive function for sorting numbers entered by user without using array concept to hold elements/numbers.
Output of the program will be... |
Forum: C Nov 19th, 2008 |
| Replies: 6 Views: 1,880 H!
I have to write a program for sorting two dimensional array(e.g. Matrix) without converting it into a single dimensional array or using pointer concept. So, can u please give me any idea... |
Forum: C Oct 24th, 2008 |
| Replies: 8 Views: 2,121 H!
It's a concept of local and global declaration. If u declare a function inside main() then that function is local to main() means the function is accessed by only main() and it's life time... |
Forum: C Oct 18th, 2008 |
| Replies: 11 Views: 1,893 Hye See...
As usual, there are some exceptions, check your compiler's documentation to see if it has a (non-portable) method for flushing input.
Ya its right that using fflush(stdin) is not 100%... |
Forum: C Oct 17th, 2008 |
| Replies: 11 Views: 1,893 H!
>>>>As your having a problem in getting the character input that it's not accepting it correctly.
See the problem is due to the 'New line' character. All your character variables get... |
Forum: C Oct 17th, 2008 |
| Replies: 5 Views: 638 Hye h!!
There are basically three types of storage classes. They are:
1)Atomic Storage
2)Register Storage
3)External
4)Static
These all are used depending on programmers choice and their... |
Forum: C Oct 17th, 2008 |
| Replies: 6 Views: 1,274 .
.
.
>Global, static, and local variables were often stored in the stack
Kinda sorta.
...Kinda sorta....??? |
Forum: C Oct 15th, 2008 |
| Replies: 6 Views: 1,274 H!
Could any one please tell me with some proper explanation for: Where dose Global, Static, Local, Register variables stored in memory? |
Forum: C Oct 15th, 2008 |
| Replies: 10 Views: 872 >but the code will be large enough and not good from good programmers view
Um, how do you think printf was written? Granted, cutedipti probably doesn't compare to the quality of programmer that... |
Forum: C Oct 14th, 2008 |
| Replies: 7 Views: 689 H...!
Can you please tell me out of fgets() and gets() which function is safe to use and why? If possible give an example program for explanation. |
Forum: C Oct 14th, 2008 |
| Replies: 13 Views: 13,798 Hye hi!
You have to first separate all the digits of the number passed to the function you may do it by the following way
a=n%10;
n=n/10;
... |
Forum: C Oct 14th, 2008 |
| Replies: 10 Views: 872 Hi,
I have one query that: Can we write a function similar to printf()? If it is possible then how could it be written? |
Forum: C Oct 14th, 2008 |
| Replies: 1 Views: 516 Hellow.......!
I need a help for: How will you declare an array of three function pointers where each function receives two integers and returns a float? |
Forum: C Oct 13th, 2008 |
| Replies: 3 Views: 485 Hye hi,
Actually you have not mentioned your problem clearly & exactly. According to me you need a help for program which add subtract and square three numbers ok.
So, for this your... |
Forum: C Oct 13th, 2008 |
| Replies: 2 Views: 425 Hi,
I have a query regarding to the storage of program that: Where dose c-program instructions get stored? And where dose local variables get stored in memory? |
Forum: C Oct 13th, 2008 |
| Replies: 2 Views: 390 Hi
I need one example on regression. Also tell between recursion and regression which one is faster? |
Forum: C Oct 3rd, 2008 |
| Replies: 8 Views: 2,155 Hi,
Ya it's absolutely right that when we initialize array as:
a[3]={1,2} then it will assign last element to zero automatically.
But while considering as a string it must be terminated... |
Forum: C Oct 1st, 2008 |
| Replies: 8 Views: 2,155 Hi,
When we define any integer array like
int a[3]={1,2,3};
then it will assign the values as a[0]=1, a[1]=2, and a[2]=3
But, when we define any character array as
... |
Forum: C Sep 23rd, 2008 |
| Replies: 1 Views: 376 what dose the error " Null pointer assignment" means and what causes this error?:idea: |
Forum: C Sep 19th, 2008 |
| Replies: 2 Views: 427 h! friends
i am not gettin output for below program..
it shows segmentation fault...:-O
can any one suggest me on this....
#include<stdio.h>
#include<string.h>
int main()
{
char... |
Forum: C Sep 19th, 2008 |
| Replies: 4 Views: 1,959 |
Forum: C Sep 17th, 2008 |
| Replies: 4 Views: 1,959 H! plz solve a problem..............!
See I want to take continuous four input from the user, out of which three are character type and one is of int type. So my problem actually is that, it accepts... |