#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 / shraddhacpawar

a

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a house a mass structure?

638


what are the different storage classes in c?

660


When should a type cast not be used?

622


What is data types?

636


How the c program is executed?

628






What is the size of empty structure in c?

589


Write a factorial program using C.

638


What are the 4 data types?

592


How do you construct an increment statement or decrement statement in C?

735


what will be the output for the following main() { printf("hi" "hello"); }

9309


When should we use pointers in a c program?

626


When should the volatile modifier be used?

677


Explain how can you tell whether a program was compiled using c versus c++?

571


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1066


What does do in c?

606