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

struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]

3 Answers  


The differences between Windows XP and Windows Visa

8 Answers   HCL,


Write a program to print factorial of given number using recursion?

0 Answers  


Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.

3 Answers   Infosys,


if p is a string contained in a string?

0 Answers  


what are the files which are automatically opened when a c file is executed?

3 Answers  


Write a program to print numbers from 1 to 100 without using loop in c?

0 Answers  


Explain how are portions of a program disabled in demo versions?

0 Answers  


How many types of sorting are there in c?

0 Answers  


for questions 14,15,16,17 use the following alternatives:a.int b.char.c.string.d.float

1 Answers  


how to print 212 as Twohundreds twelve plz provide me ans soon

1 Answers  


List out few of the applications that make use of Multilinked Structures?

1 Answers   Accenture,


Categories