What are the usage of pointer in c?



What are the usage of pointer in c?..

Answer / Atul Ojha

"Pointers are used for dynamic memory allocation, passing functions as arguments, and for accessing array elements directly."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What are c header files?

1 Answers  


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

1 Answers   Case, IBM,


What is c definition?

1 Answers  


how can write all 1to 100 prime numbers using for loop,if and break ?

2 Answers   TCS,


progrem to generate the following series 1 12 123 1234 12345

6 Answers   HCL, Wipro,


Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"

1 Answers  


What is extern c used for?

1 Answers  


Explain the advantages of using macro in c language?

1 Answers  


What is action and transformation in spark?

1 Answers  


What's the right way to use errno?

1 Answers  


Should a function contain a return statement if it does not return a value?

1 Answers  


2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.

3 Answers   Nagarro,


Categories