int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be

a) 7

b) 6

c) 4

d) pointer


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Give me basis knowledge of c , c++...

5 Answers  


Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }

1 Answers  


input any 4 digit number and find the difference of all the digits?

3 Answers   Google,


what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (ā€œ%d\nā€,j); }

14 Answers   Oracle,


What is the difference between array and pointer in c?

0 Answers  






What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

0 Answers  


What are different storage class specifiers in c?

0 Answers  


Hai what is the different types of versions and their differences

0 Answers  


How can you check to see whether a symbol is defined?

0 Answers  


How do you override a defined macro?

0 Answers  


List some basic data types in c?

0 Answers  


What is a program flowchart?

0 Answers  


Categories