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



What is the output of below program? #include <stdio.h> int main() { int p,q; ..

Answer / ishara

11__21__31__41__51__61__

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Electrical Engineering Interview Questions

can any one help me out by posting something related to rvnl interview for site engineer electrical.? what is the procedure? what kinda question they ask us? how long the interview goes? and any tips? and any thing you want to share?

1 Answers   RVNL,


tube light how its working.,?

3 Answers  


when a hand crancked meggar is used to check most three phase induction motors, how many tests r rquired? Why?

1 Answers  


why we r fixing harmonic filter

3 Answers   Siemens,


Pole of s-plane gives the information about?

2 Answers   CCP,






If the 11 KV supply is fail. what will happened with it's breaker if it is supplay to the 11KV motor?

3 Answers  


how can check the resistance of battery contact?

0 Answers   Cipla,


Will transformer heating be approximately the same for resistive, inductive or capacitive loads of the same VA rating? Explain.

1 Answers  


in 3phase 50kva dg what is the full load current for single phase laod

6 Answers  


what is the function of supervison relay?Draw its wiring diagram.

2 Answers   IBM, R.R. ISPAT LIMITED,


how many methods for starting an induction motor?

7 Answers   Hindustan Unilever Limited, Hyundai, TPL,


WHAT IS METHOD TO DESIGN SIZE OF A 11KV UNDER GROUND CABLE FOR A OUTGOING FEEDER FEEDING 6NOS 250KVA TRANSFORMERS WITH 5KM LENGTH OF FEEDER?

1 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)