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

What is linear search?

0 Answers  


What are the disadvantages of c language?

0 Answers  


When should you use a type cast?

0 Answers  


please give code for this 1 2 4 7 11 16

11 Answers   Intel, Wipro,


Is c pass by value or reference?

0 Answers  






how to multiply two number taking input as a string (considering sum and carry )

2 Answers   Wipro,


Why c is called top down?

0 Answers  


Can you write the function prototype, definition and mention the other requirements.

0 Answers   Adobe,


difference between c and c++?

2 Answers  


1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1

4 Answers  


Why should I use standard library functions instead of writing my own?

0 Answers  


What is pre-emptive data structure and explain it with example?

0 Answers  


Categories