What is the output of below program?

#include <stdio.h>

int main()

{

int p,q;

for(p=1,q=1;p<7;p++)

{

printf("%d%d__",p,q);

}

return 0;

}

Answers- 1. 17__27__37__47__57__67__

2. 11__21__31__41__51__61__

3. __11__21__31__41__51__61__

4. Compilation error

Answer Posted / ishara

11__21__31__41__51__61__

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

We have two parts in generator, electrical & mechanical. how it works?

1513


What happens to voltage when current through the inductor is constant?

685


How is the resonant peak, resonant frequency, and bandwidth determined from nichols chart?

669


Can u tell me design of switch yard

1699


why Induction Generators are not "Black start" ? and apart from WTGs where this types of generator are generally used?

2225






what happens in the short circuited secondary transformer,if the resistance of the short circuit is increased gradually?

1924


what is laser diodes?

737


why the making current is more than then the breaking current and if its true then its about a controling circuit or breaker power contact points

1617


what is the meaning of osr in transformer.

1550


List out the the types of Mounting Light fixture?

1206


internally connection of photvoltic module

1463


all details of DG UPS HVAC

1540


Installation resistance for whole installation of 16 kva & 25 KVA DTRA a) Between each conductor b) between conductor to earth c) installation resistance for each apparatus, each conductor to earth d) earth resistance for the system of earthing

1471


At what speed an electric car can run with 2 HP motor of weighing 400 kg?

1317


In constant power region of 3-phase IM torque-speed characteristics, if frequency increases slip A does not alter B decreases C increases D none of above

1582