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
1,2,3,5,8,13..... find 40th term......
Name the breakdown mechanism in a lightly doped p-n junction under reverse biased condition.
is embeded technology is necessary for every electronics engineer?
What is delay angle?
My lcd monitor not showing boot screen[dos]. Whenever I start the pc it shows blank screen till the windows xp starts. will you help me to solve this ?
what is pla instruction
what is the output differentiator and integrator?
Describe the difference between p-type and n-type semiconductor materials.
WHAT R THE DIFFERENT CONFIGURATIONS OF FPGA
Explain why we need biasing for transistor, fet and mosfet?
Why the current in power diode varies linearly rather than exponentially with voltage?
what are the Technical Specifications of D/240SC-T1
What is q-factor of the coil?
Which material is piezoelectric?
i want to know some description about SIM architecture... what is inside the SIM?