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
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?
what is the output differentiator and integrator?
Define why r-c filters are suitable only for light loads?
Explain to find resistance?
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?
Loop check when we do ???before solo run test or dis two activities not related .plz explain me
Explain the construction and application of a jfet.
What is the impact of 3GDT in SGSN?
Why does mode in arm in cpsr have 5 bits instead it can have only 3 bits to define all the 7 modes?
Draw the circuit of cb configurations using npn transistor.
write down a program to overwrite the contents of the flag register in 8085
which book is better for rrb examination?
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
How many TRXs are supported in Nokia Metrosite
What is the difference between E1T1 Card & RRI & FIU.