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..

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

temperature transmitter range o to 100c over range set value 21.6ma if you give source on the field transmitter showing iop out put also 21.6ma but dcs not showing iop samething if you simulat from hart 21.6ma in dcs showing iop how its possible?

2419


what is the output differentiator and integrator?

1040


Define why r-c filters are suitable only for light loads?

1041


Explain to find resistance?

961


In a 2 stage RC coupled amplifier, the emitter resistance of 1st stage consists of 2 resistances (Re and Re')in series and the bypass capacitor is connected across only one of them(bigger resistance). Why?

2809


Loop check when we do ???before solo run test or dis two activities not related .plz explain me

1769


Explain the construction and application of a jfet.

1064


What is the impact of 3GDT in SGSN?

3741


Why does mode in arm in cpsr have 5 bits instead it can have only 3 bits to define all the 7 modes?

949


Draw the circuit of cb configurations using npn transistor.

1069


write down a program to overwrite the contents of the flag register in 8085

2458


which book is better for rrb examination?

1818


if any body have tyco electronics placement papers,please forward to my mail id kadhar.basha@gmail.com ,please as early as possible. thanks®ards kadhar basha

3235


How many TRXs are supported in Nokia Metrosite

2374


What is the difference between E1T1 Card & RRI & FIU.

3036