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

Is main an identifier in c?

0 Answers  


What are different types of operators?

0 Answers  


What does 1f stand for?

0 Answers  


struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));

2 Answers  


What is c method?

0 Answers  






Apart from dennis ritchie who the other person who contributed in design of c language.

0 Answers  


Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


to get a line of text and count the number of vowels in it

2 Answers  


what is the hardware model of CFG( context free grammar)

0 Answers   Microsoft,


Tell me what are bitwise shift operators?

0 Answers  


how many errors in c explain deply

0 Answers  


Is it better to use a macro or a function?

0 Answers  


Categories