352 views
1 votes
1 votes
Somewhere I read that we cann't get addresses of constants or expressions as these are not saved in memory (regarding C), we can get addresses of variables or structures only.But constants are saved in data segment of a process which is saved in memory then why cann't we get address of a constant?

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
1
Shubham Kumar Gupta asked Dec 2, 2017
568 views
Please explain the working of pointers in this question. I'm unable to understand how we are getting this answer.
13 votes
13 votes
8 answers
2
Na462 asked Aug 22, 2018
5,480 views
Consider a 2 dimensional array A[40...95,40...95] in lower triangular matrix representation. The size of each element of array is 1 Byte.If array is implemented in memory...
1 votes
1 votes
2 answers
3
kapilbk1996 asked Jul 26, 2018
1,124 views
What are the minimum number of pointers required to implement a stack using single ended queue ( the queue is NOT a dequeue )?