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

Dear sir my name Ankit i m Diploma holder present working in Welspun Corp ltd Anjar as Asst.engg (salary 14400/month ctc) i Would like to change my company also i have selected in ford India pvt ltd Sanand as trainee Tech with salary 12000/month so please suggest me for changing my job hope for *ve response

0 Answers  


what maximum range of star & delta in hp or kw ?

0 Answers   Makkah Hilton Towers,


how do we calculate of transformer in va?what is calculation?

2 Answers  


What is mean by PID controller? And what is its Long form?

9 Answers   Jindal,


What is the starting current of a motor?

3 Answers  






why in india the voltage generate multiply by 11,,,like 220v,440v,11kv,33kv,66kv,220kv,

3 Answers   NTPC, Servotech, Tata Power,


What is mean by making & breaking capacity of circuit breakers?

3 Answers  


What Should be the value of Vector Surge angle at Tripping and how to calculate it?

0 Answers  


is the secondary voltage of current transformer greater than primary voltage,,,,,,,,] give the example with ct burden,current ratio,and primary and secondary side voltage?

2 Answers  


how will we calculate the copper wire load..

0 Answers  


In Siemens S7-300 PLC, what is funtion and funtion block ? What is the difference between them ? When to use function and when to use function block

2 Answers  


Please let me know when replacing electromechanical Relays for protection of generators with sr489 multilin Relay, then there is no need to use 86 master trip relay Too. I am wondering this multilin relay has no contact to Stop breaker reclosing as 86 does

1 Answers   Neucel,


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)