What is indirection in c?



What is indirection in c?..

Answer / Manu Yadav

Indirection refers to accessing data stored at a memory address instead of its immediate location. In C, you can achieve indirection through pointers. A pointer variable stores the memory address of another variable, allowing you to manipulate and access the value it points to indirectly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Write a program in C to reverse a number by recursive function?

1 Answers  


why u join this call center?

6 Answers   DELL,


Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]

2 Answers  


how many key words availabel in c a) 28 b) 31 c) 32

1 Answers  


How many types of operator or there in c?

1 Answers  


Can we change the value of #define in c?

1 Answers  


How to write the code of the program to swap two numbers with in one statement?

2 Answers  


Why isnt any of this standardized in c?

1 Answers  


what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year

7 Answers   TCS,


#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?

16 Answers   Accel Frontline, Opera, Oracle,


Consider the following C program. #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain

2 Answers  


program that accepts amount in figures and print that in words

2 Answers   Infosys, Lovely Professional University, Wipro,


Categories