When should we use pointers in a c program?
Answer / Nitesh Chaudhary
Pointers are used in C for various purposes such as dynamically allocating memory, implementing dynamic data structures, and creating functions that return multiple values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which is better pointer or array?
how to generate sparse matrix in c
Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?
What is volatile c?
In C, What is the #line used for?
How we can insert comments in a c program?
What are integer variable, floating-point variable and character variable?
What is hungarian notation? Is it worthwhile?
What is difference between static and global variable in c?
Explain the ternary tree?
Write a program on swapping (100, 50)
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none