Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
No Answer is Posted For this Question
Be the First to Post Answer
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....
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
What is double pointer?
Explain how can type-insensitive macros be created?
what is a function method?give example?
name the language for writing c compiler?
What does %d do?
How can I manipulate individual bits?
What are loops c?
program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.
How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.
What is call by value in c?