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

Is it possible to measure correct value of earth resistance & cable insulation ristance with out disconncting earth lead & both sides of cable ends? If not, any other method to measure ER & CIR with out disconneting from the system.

1653


Pls explan the OLR setting in VCB at HT yard

2176


What is CVT and what is relation with wave trap?

1660


what is the relation between reactive power and power factor for the what is the limit of reactive power and power factor

1656


what material is used in capaciter

1474






1.Can we use 6.6/11KV 300sq mm xlpe 3core cable for LT use (415 Volt). 2. If we use it for LT then what is the current rating

1226


How to calculate the fuel consumption for 600kva DG genset which connecting with 25%load?

1705


what material is the electrical housing wire made of? is there any difference for the telephone lines?

1474


a simple c++ program to calculate simple interst with its data members as private

1389


Difference between Lugs and Thimbles

13767


The inventer is a battery, but if lost current at home u will turn on the fan but the is AC and inventer battery is dc . Then how the fan was rotating. What device Or machine in fan converst the Dc power to Ac power

606


can any one suggest paper presentation topies for electrical engg?

1502


Hi, Next week Iam appearing RRB exam for section engineer. So help me to get modal question papers for this position. Iam very thankful to you. Whether question will be fully techanical format or general form. Please give me a details regarding this exam.

1468


What are the main advantages of bode plot?

695


What happens if we run alternator on under frequency? 

1644