Question: Answer the questions in the comments of the code below. #include main (){ int *p ; int a=1, b=2, c=3; int d[ 5 ]={1,2,3,4,5}; p=
Answer the questions in the comments of the code below.
#include
main (){ int *p ; int a=1, b=2, c=3; int d[ 5 ]={1,2,3,4,5}; p= &c; // What is the value of p ? [ Select ] ["0", "3", "1", "2"] b=c++; // What is the value of c ? [ Select ] ["1", "3", "4", "2"] d[ 2 ]=++b; // What is the value of d[2] ? [ Select ] ["2", "3", "1", "4"] , What is the value of b? [ Select ] ["4", "2", "3"] p= d+3; // What is the value of p ? [ Select ] ["4", "3", "null", "undefined"] b+= (c++); // What is the value of b ? [ Select ] ["2", "4", "3", "8"] , What is the value of c? [ Select ] ["Null", "3", "5", "4"] return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
