C
Programming and Technical
Programming
Program
Answer the questions based on the following program
VOID FUNCTION(INT KK)
{KK+=20;
}
VOID FUNCTION (INT K)
INT MM,N=&M
KN = K
KN+-=10;
}
What is the output of the following program
main()
{ int var=25,varp;
varp=&var;
varp p = 10;
fnc(varp)
printf("%d%d,var,varp);
}
(a) 20,55
Read Solution (Total 2)
-
- options for 2nd ques (a) 20,55(b) 35,35(c) 25,25(d)55,55
ANS::55,55 - 10 years agoHelpfull: Yes(0) No(0)
- How can you get the output while the address of var (an integer) being assigned to another variable varp which is also an interger?
- 10 years agoHelpfull: Yes(0) No(0)
C Other Question