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

Why derating factor os applied on Cables?

1491


As an electrical engineer what are the responsibilities which i can hold in TCS?

1679


Different STANDARDS (BS, IS, IEC etc) gives different informations on CT specification. How they correspons w r t each other (i.e I mean to say BS provides "knee point voltage" but IS does not, then how can i select CT)

1474


what is the common earth

606


what is meant by LCR meter? where its useful ?

1557






Why is it prefer to initiate circuit breaker failure by "86" lockout relay not by "94" tripping relay ?!

1278


what is the advantage of connecting capacitors in delta than in star?

1603


difference between the applicability of nortons and thevenin theorem

1524


What is Annunciation?

1539


Give some example of fault limiting devices?

750


if a number of plc s are there then how many modbus to be used

1513


- two pumps must work with them at the same time but if the first pump start the second pump  must delayed for some time to start  also , with motor rated power = 90 KW and rated voltage = 380 V and rated power factor = 0.85 lag please draw the power and control circuit for it and determine all circuit components parameters that you use it

2211


why we can stote dc? why we cant store ac?

1585


The specific heats of the gas at constant pressure and constant volume are respectively 1.0 kJ/kg K and 0.72 kJ/kg K; the value of R for the gas is

673


IN 1000kva transformer where the oil and winding temperature sensors is connected

2034