Explain the difference between the local variable and global variable in c?
No Answer is Posted For this Question
Be the First to Post Answer
Where in memory are my variables stored?
i want the code for printing the output as follows 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4
What are the two types of structure?
what is the benefit of c30
What is chain pointer in c?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is substring in c?
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors
What is null character in c?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.