#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,200,100



#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; ..

Answer / mann

a. 101,200,200,199

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More C Interview Questions

What is the relation between # and include<stdio.h>

5 Answers   HCL,


how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .

1 Answers  


Explain how do you search data in a data file using random access method?

0 Answers  


What do you understand by normalization of pointers?

0 Answers  


how memory store byte

4 Answers   Huawei,






Explain how do you sort filenames in a directory?

0 Answers  


There seem to be a few missing operators ..

0 Answers  


Q. where is the below variables stored ? - volatile, static, register

3 Answers   Bosch,


we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????

4 Answers   Google,


what is array?

8 Answers  


What are pointers really good for, anyway?

0 Answers  


What is the default value of local and global variables in c?

0 Answers  


Categories