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

what is Diversity factor in electrical installations

3 Answers  


can i use 2000/5A Clamp meter to measure HT cable

0 Answers   century, Engro,


what does the transformer connection symbol YNaod1 mean ?

3 Answers  


why HT wire making noise?

3 Answers  


Why does the phase voltage of two healthy phases become equal to the line voltage in case of an ungrounded neutral 3 phase star connected sytem when a single line to ground fault occurs ?

2 Answers  






Brief function of stepper motor

1 Answers  


What is the distance between each insulator in 33kv transformer and how can it calculate

0 Answers  


How to calculate MCB Breaking capacity.

0 Answers  


How to calculate the phase to phase clearness of HT /// LT bus bar?????

0 Answers  


what is trip circuit supervision relay? How does it work in switchgear?

6 Answers   Radha Regent Hotels,


HOW TO WRITE A QUENTION ANSWER? I MEAN SHORT OR LENGHTHY ? OR FROM THE BOOK AS BOOK..... SOME TIME WE GIVE A ANS FROM THE BOOK AS LIKE BOOK ND WE GET MINIMUM 60% MARKS OR MORE THEN....... THEN HOW TO FILL THE Q-PAPER?

0 Answers  


what is the distance between two overhead lines

1 Answers   Aurobindo,


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)