Q.
What will be the value of i and j in the following code segment?
int i, j ;
int x[5] = {2, 3, 4, 8, 9} ;
int *ptr =&x[2];
i = (*ptr)++ ;
j = *ptr++ ; Similar Questions
1. In order to get 256 from the number 2568 we divide this number by 10 and take,
2. The correct syntax of do-while loop is,
3. Which of the following function(s) is/are included in stdlib.h header file?
4. If the break statement is missed in switch statement then,
5. The data type before a function name represents its,
6. Member function tellg() returns the current location of the _____________ pointer.
7.
What does 5 | 6 , evaluate to in decimal where ‘|’ is bitwise OR operator?
8. C is widely
known as development language of _______ operating system.
9.
What will be the result of arithmetic expression 6+27/3*3?
10. How many
bytes are occupied by declaring following array of characters?
char str[] = “programming”;
INTRODUCTION TO PROGRAMMING TOPICS