828 views
0 votes
0 votes
does the expression &A  has l-value or not?

iknow it will have r-value. but i think it will have l-value too. as in the scanf("%d",&A); isn't &A acting like l-value??

please clarify.

Please log in or register to answer this question.

Related questions

3 votes
3 votes
1 answer
1
Sanjay Sharma asked Dec 3, 2016
2,799 views
which of the following expressions have l-values ? which have r- valuesa)A[I+1] b)*A c)&Ad)&(*A) e)*(&A) f)*(&(&A))
0 votes
0 votes
1 answer
3
srestha asked Jun 14, 2018
318 views
#include <stdio.h int make_it(int *x,int *y, int *z){ *x *= *y+*z; *y=*x<<1; *z=*x+*y; } int main(void) { int a=5, b=10; printf("%d%d",a,b); make_it(&b,&a,&(a+b)); printf...
5 votes
5 votes
1 answer
4
srestha asked Dec 28, 2017
3,373 views
Match the following1) L attributed definition 1)Top down parsing2) S attributed definition 2) Bottom up parsing ...