How pointers are declared?
Answer / Rohit Pant
"To declare a pointer in C, you use the asterisk (*) symbol before the variable name. For example, int *ptr; declares ptr as a pointer to an integer. To initialize a pointer, you can assign it the address of another variable or constant."
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you mix old-style and new-style function syntax?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
Explain what are header files and explain what are its uses in c programming?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is the significance of scope resolution operator?
1 Answers Agilent, ZS Associates,
what is unsigened char and what is the difference from char
coding for Fibonacci.?
where do we use structure pointer?
What is structure and union in c?
Is an array parameter is always "by reference" ?
How pointers are declared?
Why do we use null pointer?