Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Void main()
{
If(printf("C") && getch ())
}
Then output is C.
If I wrote clrscr() in the place of getch() then it gives error message why..



Void main() { If(printf("C") && getch ()) } Then output is C. If I wrote clrs..

Answer / shresth tyagi

in if statement if you are using && then it will give you output when both the conditions are true , if one of the conditions are not true than the compiler will give you an error and the correct program is ;
void main()
{ clrscr(); // it is used to clear anything on the command prompt
int i=1;
if(i==1)
printf("C");
getch(); // it is used to get character or string to print
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Electronics Communications Interview Questions

what happen when unit step signal is applied to a integrater circuit.explain with graph

10 Answers   BARC,


Draw the circuit of cc configurations using npn transistor.

0 Answers  


W#hat is the Present cabling used in Ethernet? and present days networks?? And What is the mostly used topology now a dyas?

3 Answers   BARC,


Is there any tradeoff between voice quality and bandwidth, how?

1 Answers   IIITM,


1. How many TRXs are supported in Nokia Metrosite 2. What is the command to lock the TRX 3. What is the command to unlock the BTS 4. What is the command from BSC to check the alarm in BTS 5. What is the maximum transmit power of FlexiEdge BTS 6. When Abis link is down, name the alarm that is generated at BSC 7. Orange LED on RRI card is glowing – what is the indication? 8. How many E1s are supported by one E1 card in BTS 9. How many ways one can login to BIO card? 10. What are the different data rates in Abis for Traffic, TRX signaling and OMU 11. BCSU card in BSC can support how many TRXs? 12. What is the command to check list of sites that are down? 13. How many TRX are supported when we use one M2HA card in BTS? 14. Name the different types of power supply card in BTS and the output power of each card 15. Ater interface is between transcoder and MSC – True/False 16. SS7 signaling is used in Abis interface – True/False 17. FlexiEdge BTS has RRI card – True/False 18. From Transcoder to MSC, data rate for each call is 64Kbps – True/false 19. Name different types of TRXs which supports different GSM bands 20. ODU LED shows orange – what is the significance?

0 Answers   Nokia,


The positive clipper can be easily converted into negative clipper by A Reversing diode and changing the polarity of reference voltage B Reversing diode only C Changing the polarity D None of these

0 Answers  


can any one please tell me the optionals for group-1 mains.actually i am preparing for civils.i took one optional.

0 Answers  


What is stop band?

0 Answers  


i need electronics related questions

0 Answers  


Explain the use of fbus protocol?

0 Answers  


What is a bcd? What are its advantages and disadvantages? Why is an excess-3 code is called an unweighted code?

0 Answers  


how can i prepare for the apgenco can u send old qps to jeedipally@gmail.com

0 Answers   APGenco,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4456)
  • Electrical Engineering Interview Questions Electrical Engineering (16639)
  • 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)