#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

Why is structure padding done in c?

0 Answers  


How was c created?

0 Answers  


write a own function to compare two strings with out using stringcomparition function?

6 Answers   LG Soft, Sasken,


What is a program flowchart?

0 Answers  


What is malloc calloc and realloc in c?

0 Answers  






What is auto keyword in c?

0 Answers  


pascal triangle program

2 Answers  


which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....

2 Answers  


Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;

18 Answers   Accenture, Cisco, Egentec, HCL, Ideaz, Infosys, M-Systems, MYR, TCS,


Explain how do you print only part of a string?

0 Answers  


what is c

1 Answers  


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

0 Answers  


Categories