#include<stdio.h>

main()

{

int a[3];

int *I;

a[0]=100;a[1]=200;a[2]=300;

I=a;

Printf(“%d\n”, ++*I);

Printf(“%d\n”, *++I);



Printf(“%d\n”, (*I)--);

Printf(“%d\n”, *I);

}

what is the o/p



a. 101,200,200,199

b. 200,201,201,100

c. 101,200,199,199

d. 200,300

Answer Posted / kedar

a

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

732


What do you understand by normalization of pointers?

619


What is an arrays?

648


What is a char in c?

552


What are the valid places to have keyword “break”?

647






c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

725


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

704


what will be maximum number of comparisons when number of elements are given?

1406


Explain spaghetti programming?

682


What is meant by inheritance?

627


What is the difference between Printf(..) and sprint(...) ?

780


code for quick sort?

1618


What is the difference between ++a and a++?

686


while initialization of array why we use a[][2] why not a[2][]...?

1861


Who is the founder of c language?

674